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

2 Risposte
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
con risposta un anno fa
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande