BucketCorsItemArgs

data class BucketCorsItemArgs(val maxAgeSeconds: Output<Int>? = null, val method: Output<List<String>>? = null, val origin: Output<List<String>>? = null, val responseHeader: Output<List<String>>? = null) : ConvertibleToJava<BucketCorsItemArgs>

Constructors

Link copied to clipboard
fun BucketCorsItemArgs(maxAgeSeconds: Output<Int>? = null, method: Output<List<String>>? = null, origin: Output<List<String>>? = null, responseHeader: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard
val maxAgeSeconds: Output<Int>? = null

The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.

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

The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".

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

The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".

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

The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.