0
votes

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:

1
Do you mean set the timeout value for a Lambda function?yudhiesh
No, not for the lambda function. I mean for the API Gateway itself. See Integration Timeout here: docs.aws.amazon.com/apigateway/latest/developerguide/….bappak

1 Answers

0
votes

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.