BucketWebsite constructor
const
BucketWebsite({})
Creates a new BucketWebsite.
errorDocument Absolute path to the document to return in case of a 4XX error.
indexDocument Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders.
redirectAllRequestsTo Hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (http:// or https://) to use when redirecting requests. The default is the protocol that is used in the original request.
routingRules JSON array containing routing rules describing redirect behavior and when redirects are applied.
Implementation
const BucketWebsite({
this.errorDocument,
this.indexDocument,
this.redirectAllRequestsTo,
this.routingRules,
});