ApiCorsConfigurationArgs

data class ApiCorsConfigurationArgs(val allowCredentials: Output<Boolean>? = 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<ApiCorsConfigurationArgs>

Constructors

Link copied to clipboard
constructor(allowCredentials: Output<Boolean>? = 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<Boolean>? = null

Whether credentials are included in the CORS request.

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

Set of allowed HTTP headers.

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

Set of allowed HTTP methods.

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

Set of allowed origins.

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

Set of exposed HTTP headers.

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

Number of seconds that the browser should cache preflight request results.

Functions

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