The change
AWS Lambda now supports a 30-minute timeout for on-demand Event Functions. That doubles the 15-minute limit for synchronous, asynchronous, and event source mapping invocations. On Lambda Managed Instances, synchronous invocations also support the longer window.
When it helps
Longer timeouts help batch jobs, such as nightly report generation or large file processing, finish in a single run. They do not fix slow code, and a function that runs for thirty minutes can still cost money if it loops or retries without limits.
Checklist before you change a timeout
Find out why the job is slow before raising the limit. Set an alert on the function’s duration and cost. Make sure the job can safely restart if it is interrupted, since a long job is more likely to fail partway through.
