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?

1 Answer
0
Accepted Answer

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
EXPERT
answered 7 years 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