Class: Aws::SecurityHub::Types::AwsS3BucketWebsiteConfiguration

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 AwsS3BucketWebsiteConfiguration data as a hash:

{
  error_document: "NonEmptyString",
  index_document_suffix: "NonEmptyString",
  redirect_all_requests_to: {
    hostname: "NonEmptyString",
    protocol: "NonEmptyString",
  },
  routing_rules: [
    {
      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",
      },
    },
  ],
}

Website parameters for the S3 bucket.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_documentString

The name of the error document for the website.

Returns:

  • (String)


16491
16492
16493
16494
16495
16496
16497
16498
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16491

class AwsS3BucketWebsiteConfiguration < Struct.new(
  :error_document,
  :index_document_suffix,
  :redirect_all_requests_to,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#index_document_suffixString

The name of the index document for the website.

Returns:

  • (String)


16491
16492
16493
16494
16495
16496
16497
16498
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16491

class AwsS3BucketWebsiteConfiguration < Struct.new(
  :error_document,
  :index_document_suffix,
  :redirect_all_requests_to,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#redirect_all_requests_toTypes::AwsS3BucketWebsiteConfigurationRedirectTo

The redirect behavior for requests to the website.



16491
16492
16493
16494
16495
16496
16497
16498
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16491

class AwsS3BucketWebsiteConfiguration < Struct.new(
  :error_document,
  :index_document_suffix,
  :redirect_all_requests_to,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end

#routing_rulesArray<Types::AwsS3BucketWebsiteConfigurationRoutingRule>

The rules for applying redirects for requests to the website.



16491
16492
16493
16494
16495
16496
16497
16498
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 16491

class AwsS3BucketWebsiteConfiguration < Struct.new(
  :error_document,
  :index_document_suffix,
  :redirect_all_requests_to,
  :routing_rules)
  SENSITIVE = []
  include Aws::Structure
end