BucketRedirectAllRequestsToArgs

data class BucketRedirectAllRequestsToArgs(val hostName: Output<String>, val protocol: Output<BucketRedirectAllRequestsToProtocol>? = null) : ConvertibleToJava<BucketRedirectAllRequestsToArgs>

Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.

Constructors

Link copied to clipboard
constructor(hostName: Output<String>, protocol: Output<BucketRedirectAllRequestsToProtocol>? = null)

Properties

Link copied to clipboard
val hostName: Output<String>

Name of the host where requests are redirected.

Link copied to clipboard

Protocol to use when redirecting requests. The default is the protocol that is used in the original request.

Functions

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