class Aws::SecurityHub::Types::AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

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

@note When making an API call, you may pass AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

data as a hash:

    {
      hostname: "NonEmptyString",
      http_redirect_code: "NonEmptyString",
      protocol: "NonEmptyString",
      replace_key_prefix_with: "NonEmptyString",
      replace_key_with: "NonEmptyString",
    }

@!attribute [rw] hostname

The host name to use in the redirect request.
@return [String]

@!attribute [rw] http_redirect_code

The HTTP redirect code to use in the response.
@return [String]

@!attribute [rw] protocol

The protocol to use to redirect the request. By default, uses the
protocol from the original request.
@return [String]

@!attribute [rw] replace_key_prefix_with

The object key prefix to use in the redirect request.

Cannot be provided if `ReplaceKeyWith` is present.
@return [String]

@!attribute [rw] replace_key_with

The specific object key to use in the redirect request.

Cannot be provided if `ReplaceKeyPrefixWith` is present.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsS3BucketWebsiteConfigurationRoutingRuleRedirect AWS API Documentation

Constants

SENSITIVE