The default timeout for an AWS Lambda function is 3 seconds. This means that if the function does not complete execution within 3 seconds, it will be automatically terminated by AWS. You can increase the timeout based on your workload, up to a maximum of 15 minutes (900 seconds).
Default timeout: 3 seconds
Maximum timeout: 15 minutes (900 seconds)
Timeout can be configured during function creation or updated later
Longer timeouts consume more billed duration and should be used with caution
Timeout settings apply per invocation