Skip to main content

IS3WebsiteConfiguration

Interface in AWS.S3

Interface for WebsiteConfiguration documents.

Properties

ErrorDocument

property ErrorDocument: IS3ErrorDocument

Type: IS3ErrorDocument

Specifies an error document for the website.

IndexDocument

property IndexDocument: IS3IndexDocument

Type: IS3IndexDocument

Specifies an index document for the website.

RedirectAllRequestsTo

property RedirectAllRequestsTo: IS3RedirectAllRequestsTo

Type: IS3RedirectAllRequestsTo

Specifies behaviour to redirect every request for the website.

If this is specified, no other properties can be specified in the request.

RoutingRules

property RoutingRules: TS3RoutingRules

Type: TS3RoutingRules

Routing rules defining redirect behaviour.

Methods

ToString

function ToString: string;

Convert to string.

Returns

A string containing the XML representation.

ToXML

function ToXML: IXMLDocument;

Convert to XML.

Returns

An XML representation.