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

Amazon S3 Bucket RoutingRules

The RoutingRules property is an embedded property of the WebsiteConfiguration property. This property describes the redirect behavior and when a redirect is applied.

Syntax

JSON

{ "RedirectRule" : Redirect rule, "RoutingRuleCondition" : Routing rule condition }

YAML

RedirectRule: Redirect rule RoutingRuleCondition: Routing rule condition

Properties

RedirectRule

Redirect requests to another host, to another page, or with another protocol.

Required: Yes

Type: RedirectRule

RoutingRuleCondition

Rules that define when a redirect is applied.

Required: No

Type: RoutingRuleCondition

On this page: