AWS::S3::Bucket RedirectAllRequestsTo - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::S3::Bucket RedirectAllRequestsTo

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "HostName" : String, "Protocol" : String }


HostName: String Protocol: String



Name of the host where requests are redirected.

Required: Yes

Type: String

Update requires: No interruption


Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

Required: No

Type: String

Allowed values: http | https

Update requires: No interruption