Skip to content

WebsiteConfiguration

Source code in docs_src/capo_s3/types/website_configuration.py
class WebsiteConfiguration(TypedDict, closed=True):
    error_document: NotRequired["capo_s3.types.error_document.ErrorDocument"]
    """<p>The name of the error document for the website.</p>"""
    index_document: NotRequired["capo_s3.types.index_document.IndexDocument"]
    """<p>The name of the index document for the website.</p>"""
    redirect_all_requests_to: NotRequired[
        "capo_s3.types.redirect_all_requests_to.RedirectAllRequestsTo"
    ]
    """<p>The redirect behavior for every request to this bucket's website endpoint.</p> <important> <p>If you specify this property, you can't specify any other property.</p> </important>"""
    routing_rules: NotRequired["capo_s3.types.routing_rules.RoutingRules"]
    """<p>Rules that define when a redirect is applied and the redirect behavior.</p>"""

error_document instance-attribute

error_document: NotRequired[ErrorDocument]

The name of the error document for the website.

index_document instance-attribute

index_document: NotRequired[IndexDocument]

The name of the index document for the website.

redirect_all_requests_to instance-attribute

redirect_all_requests_to: NotRequired[RedirectAllRequestsTo]

The redirect behavior for every request to this bucket's website endpoint.

If you specify this property, you can't specify any other property.

routing_rules instance-attribute

routing_rules: NotRequired[RoutingRules]

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