class Aws::S3::Types::WebsiteConfiguration
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WebsiteConfiguration AWS API Documentation
@return [Array<Types::RoutingRule>]
behavior.
Rules that define when a redirect is applied and the redirect
@!attribute [rw] routing_rules
@return [Types::RedirectAllRequestsTo]
If you specify this property, you can’t specify any other property.
endpoint.
The redirect behavior for every request to this bucket’s website
@!attribute [rw] redirect_all_requests_to
@return [Types::IndexDocument]
The name of the index document for the website.
@!attribute [rw] index_document
@return [Types::ErrorDocument]
The name of the error document for the website.
@!attribute [rw] error_document
}
],
},
},
replace_key_with: “ReplaceKeyWith”,
replace_key_prefix_with: “ReplaceKeyPrefixWith”,
protocol: “http”, # accepts http, https
http_redirect_code: “HttpRedirectCode”,
host_name: “HostName”,
redirect: { # required
},
key_prefix_equals: “KeyPrefixEquals”,
http_error_code_returned_equals: “HttpErrorCodeReturnedEquals”,
condition: {
{
routing_rules: [
},
protocol: “http”, # accepts http, https
host_name: “HostName”, # required
redirect_all_requests_to: {
},
suffix: “Suffix”, # required
index_document: {
},
key: “ObjectKey”, # required
error_document: {
{
data as a hash:
@note When making an API call, you may pass WebsiteConfiguration
Specifies website configuration parameters for an Amazon S3 bucket.