Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Interface WebsiteConfiguration

Specifies website configuration parameters for an Amazon S3 bucket.


  • WebsiteConfiguration


ErrorDocument?: ErrorDocument

The name of the error document for the website.

IndexDocument?: IndexDocument

The name of the index document for the website.

RedirectAllRequestsTo?: 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.

RoutingRules?: RoutingRule[]

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