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
已提问 1 年前274 查看次数
2 回答
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
已回答 1 年前
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则