HttpApi timeout setting missing from SAM cloudformation template

0

My company is deploying lambda based serverless applications using the SAM cloudformation template format (which frustratingly has different syntax from the standard template). Using this format, I cannot find a way to set the "timeout in milliseconds" for an AWS::Serverless::HttpApi type gateway placed in front of the lambda. As it is, they default to 5 seconds which doesn't allow for cold start times or for requests that are longer than normal.

These services need to be controlled through the template as the development team doesn't have access to the console to adjust it through the web interface (company security policy).

How can we set this value during the cloudformation deploy or get it added as a property in the templates?

질문됨 4년 전524회 조회
2개 답변
0
수락된 답변

Hi gozargozarian,

This was added as part of the latest SAM launch: https://github.com/awslabs/serverless-application-model/releases/tag/v1.22.0

Thanks,
Alan

AWS
답변함 4년 전
0

Thanks! This worked perfectly

답변함 4년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠