WebsiteConfigurationArgs

data class WebsiteConfigurationArgs(val errorDocument: Output<String>? = null, val indexDocument: Output<String>? = null, val redirectAllRequestsTo: Output<RedirectAllRequestsToArgs>? = null, val routingRules: Output<List<RoutingRuleArgs>>? = null) : ConvertibleToJava<WebsiteConfigurationArgs>

Definition of WebsiteConfiguration

Constructors

Link copied to clipboard
constructor(errorDocument: Output<String>? = null, indexDocument: Output<String>? = null, redirectAllRequestsTo: Output<RedirectAllRequestsToArgs>? = null, routingRules: Output<List<RoutingRuleArgs>>? = 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. Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

Link copied to clipboard
val routingRules: Output<List<RoutingRuleArgs>>? = null

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

Functions

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