Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Interface WebsiteConfiguration

Specifies website configuration parameters for an Amazon S3 bucket.

Hierarchy

  • WebsiteConfiguration

Properties

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.