Reputation: 1044
I have an AWS lambda gateway, with lambda function integration, defined in AWS CDK. I want to explicitly set API Gateway's timeout for a particular method's lambda, and could not find a way to do so in the official documentation. I checked:
Upvotes: 0
Views: 3113
Reputation: 57114
The LambdaIntegration
has a LambdaIntegrationOptions
and that has a timeout
:
The maximum amount of time an integration will run before it returns without a response.
Must be between 50 milliseconds and 29 seconds.
Upvotes: 2