BucketV2Website

data class BucketV2Website(val errorDocument: String? = null, val indexDocument: String? = null, val redirectAllRequestsTo: String? = null, val routingRules: String? = null)

Constructors

Link copied to clipboard
constructor(errorDocument: String? = null, indexDocument: String? = null, redirectAllRequestsTo: String? = null, routingRules: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val errorDocument: String? = null

Absolute path to the document to return in case of a 4XX error.

Link copied to clipboard
val indexDocument: String? = null

Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders.

Link copied to clipboard

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.

Link copied to clipboard
val routingRules: String? = null

JSON array containing routing rules describing redirect behavior and when redirects are applied.