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
Location: http://example.com/test
Content-Type: text/html
Content-Length: 0
Jan 11, 2019 in AWS by datageek
• 3,090 points
2,249 views

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, 2019 by Archana
• 5,640 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
4,181 views
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,170 points
3,041 views
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, 2019 in AWS by Esha
486 views
0 votes
1 answer
+1 vote
2 answers

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,640 points
53,627 views
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,640 points
1,083 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP