Modify the default AWS Lambda function timeout

Tomasz Łakomy
InstructorTomasz Łakomy

Share this video with your friends

Send Tweet

Our AWS Lambda functions may take some time to execute, especially when they are going to call external APIs etc.

The default timeout is 3 seconds, which may not be enough.

In this lesson we're going to learn how to modify the default timeout for an AWS Lambda function as well as how to use the context object provided with each lambda call in order to see how much time is remaining before a function timeouts.

Farid  Escate
Farid Escate
~ a year ago

Thank you so much, very well explained. I was wondering what happens if i use some external api and this api calls suddenly goes down, i there a error rate manager o something like that?