Skip to content

S3  >  Dictionaries  >  WebsiteConfigurationDict

WebsiteConfigurationDict

Dictionary Type

WebsiteConfigurationDict

Bases: TypedDict

Dictionary form of WebsiteConfiguration.

Attributes

error_document instance-attribute
error_document: ErrorDocument | ErrorDocumentDict | None

The name of the error document for the website.

index_document instance-attribute
index_document: IndexDocument | IndexDocumentDict | None

The name of the index document for the website.

redirect_all_requests_to instance-attribute
redirect_all_requests_to: RedirectAllRequestsTo | RedirectAllRequestsToDict | 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 instance-attribute
routing_rules: Sequence[RoutingRule | RoutingRuleDict] | None

Rules that define when a redirect is applied and the redirect behavior.