WebsiteConfiguration¶
Structure Class¶
WebsiteConfiguration
dataclass
¶
Bases: _SerdeShape
Specifies website configuration parameters for an Amazon S3 bucket.
Attributes¶
error_document
class-attribute
instance-attribute
¶
error_document: ErrorDocument | None = ...
The name of the error document for the website.
index_document
class-attribute
instance-attribute
¶
index_document: IndexDocument | None = ...
The name of the index document for the website.
redirect_all_requests_to
class-attribute
instance-attribute
¶
redirect_all_requests_to: RedirectAllRequestsTo | None = ...
The redirect behavior for every request to this bucket's website endpoint.
Warning
If you specify this property, you can't specify any other property.
routing_rules
class-attribute
instance-attribute
¶
routing_rules: list[RoutingRule] | None = ...
Rules that define when a redirect is applied and the redirect behavior.