How to increase Amplify cloudfront origin time out

0

I need to find a way to customize that Cloudfront distribution as amplify is deploying a managed one that we are not able to access through our console or cli to edit. I want to increase origin response timout

Durdan
preguntada hace un año274 visualizaciones
2 Respuestas
0

Hello @ Durdan

To configure a Response timeout value that's greater than 60 seconds, you must request a quota increase. The default Response timeout value is 30 seconds.

refer- https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-custom-origin-response/


If the Answer is helpful, please click Accept Answer & UPVOTE, this can be beneficial to other community members.

profile picture
respondido hace un año
0

Hi,

I haven't tried this myself. Override (https://aws.amazon.com/blogs/mobile/override-amplify-generated-backend-resources-using-cdk/) does not seem to support update of cloudfront configurations.

What you could look into is custom resources (https://docs.amplify.aws/cli/custom/cdk/). You could get a reference of Cloudfront distribution in CDK and then try to modify that.

Let me know if this works/is feasible.

profile picture
EXPERTO
respondido hace un año

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