Fugue.AWS.S3.WebsiteConfiguration

This is the preferred interface for making S3 WebsiteConfigurations with Fugue. If you want to manage an S3 WebsiteConfiguration with Fugue, the new function is the right place to start.

Table of Contents

Module Members

new

(Function)

new S3 WebsiteConfiguration (Constructor)

Call this constructor to create a new Fugue.Core.AWS.S3.WebsiteConfiguration value.

Type Signature

 fun { routingRules: Optional<List<RoutingRule>>,
       errorDocumentKey: Optional<String>,
       indexDocumentSuffix: Optional<String>,
       redirectAllRequestsToHostName: Optional<String>,
       redirectProtocol: Optional<Protocol> } -> WebsiteConfiguration
Argument: routingRules

An Optional of S3.RoutingRule values that define the routing rules used in this website configuration. May not be specified if redirectAllRequestsToHostName is specified.

Type: Optional<List<RoutingRule>>

Argument: errorDocumentKey

A String that defines the S3 key that should be served when an error occurs. May not be specified if redirectAllRequestsToHostName is specified.

Type: Optional<String>

Argument: indexDocumentSuffix

A String that defines the suffix of the index document for this website. May not be specified if redirectAllRequestsToHostName is specified.

Type: Optional<String>

Argument: redirectAllRequestsToHostName

An Optional string that defines a hostname that all requests should be directed to.

Type: Optional<String>

Argument: redirectProtocol

An Optional value that defines the Protocol redirects should be made over.

Type: Optional<Protocol>

Returns:

A Fugue.Core.AWS.S3.WebsiteConfiguration value.

Type: WebsiteConfiguration