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
feita há um ano274 visualizações
2 Respostas
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 há um ano
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
ESPECIALISTA
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas