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?

preguntada hace 4 años524 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
respondido hace 4 años
0

Thanks! This worked perfectly

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas