Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon S3 Website Configuration Redirect All Requests To Property

The RedirectAllRequestsTo code is an embedded property of the Amazon S3 Website Configuration Property property that describes the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

Syntax

JSON

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

YAML

Copy
HostName: String Protocol: String

Properties

HostName

Name of the host where requests are redirected.

Required: Yes

Type: String

Protocol

Protocol to use (http or https) when redirecting requests. The default is the protocol that is used in the original request.

Required: No

Type: String