AWS::S3::Bucket RedirectAllRequestsTo - AWS CloudFormation

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 AWS 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