Class: Aws::SecurityHub::Types::AwsS3BucketWebsiteConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsS3BucketWebsiteConfiguration
- 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
-
#error_document ⇒ String
The name of the error document for the website.
-
#index_document_suffix ⇒ String
The name of the index document for the website.
-
#redirect_all_requests_to ⇒ Types::AwsS3BucketWebsiteConfigurationRedirectTo
The redirect behavior for requests to the website.
-
#routing_rules ⇒ Array<Types::AwsS3BucketWebsiteConfigurationRoutingRule>
The rules for applying redirects for requests to the website.
Instance Attribute Details
#error_document ⇒ String
The name of the error document for the website.
17509 17510 17511 17512 17513 17514 17515 17516 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17509 class AwsS3BucketWebsiteConfiguration < Struct.new( :error_document, :index_document_suffix, :redirect_all_requests_to, :routing_rules) SENSITIVE = [] include Aws::Structure end |
#index_document_suffix ⇒ String
The name of the index document for the website.
17509 17510 17511 17512 17513 17514 17515 17516 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17509 class AwsS3BucketWebsiteConfiguration < Struct.new( :error_document, :index_document_suffix, :redirect_all_requests_to, :routing_rules) SENSITIVE = [] include Aws::Structure end |
#redirect_all_requests_to ⇒ Types::AwsS3BucketWebsiteConfigurationRedirectTo
The redirect behavior for requests to the website.
17509 17510 17511 17512 17513 17514 17515 17516 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17509 class AwsS3BucketWebsiteConfiguration < Struct.new( :error_document, :index_document_suffix, :redirect_all_requests_to, :routing_rules) SENSITIVE = [] include Aws::Structure end |
#routing_rules ⇒ Array<Types::AwsS3BucketWebsiteConfigurationRoutingRule>
The rules for applying redirects for requests to the website.
17509 17510 17511 17512 17513 17514 17515 17516 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 17509 class AwsS3BucketWebsiteConfiguration < Struct.new( :error_document, :index_document_suffix, :redirect_all_requests_to, :routing_rules) SENSITIVE = [] include Aws::Structure end |