AwsS3BucketWebsiteConfigurationRoutingRuleRedirect - AWS Security Hub

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 AWS SDKs, see the following: