Adding a redirect header on a Amazon S3 object

0 votes

I want to add a redirect header to my Amazon S3 object.  Is it possible to do so?

Preferably by setting a header like this on the object:

HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Content-Length: 0
Jan 11 in AWS by datageek
• 3,040 points

1 answer to this question.

0 votes

Yes. You can definitely do that, as in adding a redirecting header to S3 object. Amazon Web Services has added a feature, which enables to exactly that. 

Refer to this AWS documentation - Configuring a web page redirect

answered Jan 11 by Archana
• 5,560 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How do I write an S3 Object to a file?

While IOUtils.copy() and IOUtils.copyLarge() are great, I would prefer the old ...READ MORE

answered Jul 13, 2018 in AWS by Hammer
• 360 points
0 votes
1 answer

How to upload a file to Amazon S3 without passing it my server?

This article pretty much explains the entire ...READ MORE

answered Aug 14, 2018 in AWS by Archana
• 4,090 points
0 votes
1 answer

AWS s3 -trigger on object created, function gets invoked continuously

This is not supposed to happen. Please ...READ MORE

answered Feb 6 in AWS by Esha
–1 vote
1 answer

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,560 points
0 votes
1 answer

How to monitor & track a chatbot on Amazon Lex?

You can track metrics for your bot ...READ MORE

answered Nov 8, 2018 in AWS by Archana
• 5,560 points