Skip to content

GetBucketWebsiteOutput

Source code in docs_src/capo_s3/types/get_bucket_website_output.py
class GetBucketWebsiteOutput(TypedDict, closed=True):
    redirect_all_requests_to: NotRequired[
        "capo_s3.types.redirect_all_requests_to.RedirectAllRequestsTo"
    ]
    """<p>Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.</p>"""
    index_document: NotRequired["capo_s3.types.index_document.IndexDocument"]
    """<p>The name of the index document for the website (for example <code>index.html</code>).</p>"""
    error_document: NotRequired["capo_s3.types.error_document.ErrorDocument"]
    """<p>The object key name of the website error document to use for 4XX class errors.</p>"""
    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 object key name of the website error document to use for 4XX class errors.

index_document instance-attribute

index_document: NotRequired[IndexDocument]

The name of the index document for the website (for example index.html).

redirect_all_requests_to instance-attribute

redirect_all_requests_to: NotRequired[RedirectAllRequestsTo]

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

routing_rules instance-attribute

routing_rules: NotRequired[RoutingRules]

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