S3 hosted website through Cloudfront - 302 (temporary redirect) response for objects

0

My customer is looking to have HTTP 302 (temporary redirects) for objects in S3. Our APIs allows to setup 301 redirects. Is there a way to achieve 302 redirects?

已提問 7 年前檢視次數 1380 次
1 個回答
0
已接受的答案

You can specify the response code using HttpRedirectCode in routing rules.

http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html

AWS
專家
已回答 7 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南