AWS::S3::Bucket RedirectAllRequestsTo - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::S3::Bucket RedirectAllRequestsTo

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

Syntax

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

JSON

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

YAML

HostName: String Protocol: String

Properties

HostName

Name of the host where requests are redirected.

Required: Yes

Type: String

Update requires: No interruption

Protocol

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