ServiceCorsConfigurationArgs

data class ServiceCorsConfigurationArgs(val allowCredentials: Output<Boolean>? = null, val allowedHeaders: Output<List<String>>? = null, val allowedMethods: Output<List<String>>? = null, val allowedOrigins: Output<List<String>>? = null, val maxAgeInSeconds: Output<Int>? = null) : ConvertibleToJava<ServiceCorsConfigurationArgs>

Constructors

Link copied to clipboard
constructor(allowCredentials: Output<Boolean>? = null, allowedHeaders: Output<List<String>>? = null, allowedMethods: Output<List<String>>? = null, allowedOrigins: Output<List<String>>? = null, maxAgeInSeconds: Output<Int>? = null)

Properties

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

(Boolean) If credentials are allowed via CORS.

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

A set of headers to be allowed via CORS.

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

The methods to be allowed via CORS. Possible values are DELETE, GET, HEAD, MERGE, POST, OPTIONS, PATCH and PUT.

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

A set of origins to be allowed via CORS.

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

The max age to be allowed via CORS.

Functions

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