class Aws::SecurityHub::Types::AwsS3BucketWebsiteConfigurationRoutingRule
A rule for redirecting requests to the website.
@note When making an API call, you may pass AwsS3BucketWebsiteConfigurationRoutingRule
data as a hash: { condition: { http_error_code_returned_equals: "NonEmptyString", key_prefix_equals: "NonEmptyString", }, redirect: { hostname: "NonEmptyString", http_redirect_code: "NonEmptyString", protocol: "NonEmptyString", replace_key_prefix_with: "NonEmptyString", replace_key_with: "NonEmptyString", }, }
@!attribute [rw] condition
Provides the condition that must be met in order to apply the routing rule. @return [Types::AwsS3BucketWebsiteConfigurationRoutingRuleCondition]
@!attribute [rw] redirect
Provides the rules to redirect the request if the condition in `Condition` is met. @return [Types::AwsS3BucketWebsiteConfigurationRoutingRuleRedirect]
@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketWebsiteConfigurationRoutingRule AWS API Documentation
Constants
- SENSITIVE