Api Cors Args
data class ApiCorsArgs(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<ApiCorsArgs>
The `Cors`
property specifies a CORS configuration for an API. Supported only for HTTP APIs. See Configuring CORS for more information.
Constructors
Properties
Link copied to clipboard
Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.
Link copied to clipboard
Represents a collection of allowed headers. Supported only for HTTP APIs.
Link copied to clipboard
Represents a collection of allowed HTTP methods. Supported only for HTTP APIs.
Link copied to clipboard
Represents a collection of allowed origins. Supported only for HTTP APIs.
Link copied to clipboard
Represents a collection of exposed headers. Supported only for HTTP APIs.