Is it possible to set a custom request integration timeout in AWS API Gateway in serverless.yml configuration?
Although the question is quite straight forward I find a little of context always useful:
I need to notify the final user when the lambda function has timed out. Such situation could happen due to project requirements (lambda is communicating with third-party systems that may not be up). I came up with some other solutions, I believe setting the API-GW request timeout to the same time as lambda timeout is the best one, though.
aws apigatewayv2 update-integration --integration-id <integration-id> --api-id <api id> --timeout-in-millis <time in milliseconds>