BucketWebsiteConfigurationArgs

data class BucketWebsiteConfigurationArgs(val errorDocument: Output<String>? = null, val indexDocument: Output<String>? = null, val redirectAllRequestsTo: Output<BucketRedirectAllRequestsToArgs>? = null, val routingRules: Output<List<BucketRoutingRuleArgs>>? = null) : ConvertibleToJava<BucketWebsiteConfigurationArgs>

Specifies website configuration parameters for an Amazon S3 bucket.

Constructors

Link copied to clipboard
constructor(errorDocument: Output<String>? = null, indexDocument: Output<String>? = null, redirectAllRequestsTo: Output<BucketRedirectAllRequestsToArgs>? = null, routingRules: Output<List<BucketRoutingRuleArgs>>? = null)

Properties

Link copied to clipboard
val errorDocument: Output<String>? = null

The name of the error document for the website.

Link copied to clipboard
val indexDocument: Output<String>? = null

The name of the index document for the website.

Link copied to clipboard

The redirect behavior for every request to this bucket's website endpoint. If you specify this property, you can't specify any other property.

Link copied to clipboard

Rules that define when a redirect is applied and the redirect behavior.

Functions

Link copied to clipboard
open override fun toJava(): BucketWebsiteConfigurationArgs