ServiceCorsConfigurationInfoArgs

data class ServiceCorsConfigurationInfoArgs(val allowCredentials: Output<Boolean>? = null, val headers: Output<List<String>>? = null, val maxAge: Output<Double>? = null, val methods: Output<List<String>>? = null, val origins: Output<List<String>>? = null) : ConvertibleToJava<ServiceCorsConfigurationInfoArgs>

The settings for the CORS configuration of the service instance.

Constructors

Link copied to clipboard
constructor(allowCredentials: Output<Boolean>? = null, headers: Output<List<String>>? = null, maxAge: Output<Double>? = null, methods: Output<List<String>>? = null, origins: Output<List<String>>? = null)

Properties

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

If credentials are allowed via CORS.

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

The headers to be allowed via CORS.

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

The max age to be allowed via CORS.

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

The methods to be allowed via CORS.

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

The origins to be allowed via CORS.

Functions

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