AwsS3BucketWebsiteConfigurationRoutingRuleRedirect - Amazon Security Hub
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).

AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

The rules to redirect the request if the condition in Condition is met.

Contents

Hostname

The host name to use in the redirect request.

Type: String

Pattern: .*\S.*

Required: No

HttpRedirectCode

The HTTP redirect code to use in the response.

Type: String

Pattern: .*\S.*

Required: No

Protocol

The protocol to use to redirect the request. By default, uses the protocol from the original request.

Type: String

Pattern: .*\S.*

Required: No

ReplaceKeyPrefixWith

The object key prefix to use in the redirect request.

Cannot be provided if ReplaceKeyWith is present.

Type: String

Pattern: .*\S.*

Required: No

ReplaceKeyWith

The specific object key to use in the redirect request.

Cannot be provided if ReplaceKeyPrefixWith is present.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: