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
asked a year ago263 views
2 Answers
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
answered a year ago
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
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions