Class: Aws::SecurityHub::Types::AwsS3BucketWebsiteConfigurationRoutingRule

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

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",
  },
}

A rule for redirecting requests to the website.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionTypes::AwsS3BucketWebsiteConfigurationRoutingRuleCondition

Provides the condition that must be met in order to apply the routing rule.



16559
16560
16561
16562
16563
16564
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16559

class AwsS3BucketWebsiteConfigurationRoutingRule < Struct.new(
  :condition,
  :redirect)
  SENSITIVE = []
  include Aws::Structure
end

#redirectTypes::AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

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



16559
16560
16561
16562
16563
16564
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16559

class AwsS3BucketWebsiteConfigurationRoutingRule < Struct.new(
  :condition,
  :redirect)
  SENSITIVE = []
  include Aws::Structure
end