RuleRuleActionCorsConfigArgs

data class RuleRuleActionCorsConfigArgs(val allowCredentials: Output<String>? = null, val allowHeaders: Output<List<String>>? = null, val allowMethods: Output<List<String>>? = null, val allowOrigins: Output<List<String>>? = null, val exposeHeaders: Output<List<String>>? = null, val maxAge: Output<Int>? = null) : ConvertibleToJava<RuleRuleActionCorsConfigArgs>

Constructors

Link copied to clipboard
constructor(allowCredentials: Output<String>? = null, allowHeaders: Output<List<String>>? = null, allowMethods: Output<List<String>>? = null, allowOrigins: Output<List<String>>? = null, exposeHeaders: Output<List<String>>? = null, maxAge: Output<Int>? = null)

Properties

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

Specifies whether credentials can be passed during CORS operations. Valid values: on, off.

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

The allowed headers for CORS requests.

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

The allowed HTTP methods for CORS requests. Valid values: GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH.

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

The allowed origins of CORS requests.

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

The headers that can be exposed.

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

The maximum cache time of preflight requests in the browser. Unit: seconds. Valid values: -1 to 172800.

Functions

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