Gateway Cors Properties Args
data class GatewayCorsPropertiesArgs(val allowCredentials: Output<Boolean>? = null, val allowedHeaders: Output<List<String>>? = null, val allowedMethods: Output<List<String>>? = null, val allowedOriginPatterns: Output<List<String>>? = null, val allowedOrigins: Output<List<String>>? = null, val exposedHeaders: Output<List<String>>? = null, val maxAge: Output<Int>? = null) : ConvertibleToJava<GatewayCorsPropertiesArgs>
Cross-Origin Resource Sharing property
Constructors
Link copied to clipboard
constructor(allowCredentials: Output<Boolean>? = null, allowedHeaders: Output<List<String>>? = null, allowedMethods: Output<List<String>>? = null, allowedOriginPatterns: Output<List<String>>? = null, allowedOrigins: Output<List<String>>? = null, exposedHeaders: Output<List<String>>? = null, maxAge: Output<Int>? = null)
Properties
Link copied to clipboard
Whether user credentials are supported on cross-site requests. Valid values: true
, false
.
Link copied to clipboard
Allowed headers in cross-site requests. The special value *
allows actual requests to send any header.
Link copied to clipboard
Allowed HTTP methods on cross-site requests. The special value *
allows all methods. If not set, GET
and HEAD
are allowed by default.
Link copied to clipboard
Allowed origin patterns to make cross-site requests.
Link copied to clipboard
Allowed origins to make cross-site requests. The special value *
allows all domains.
Link copied to clipboard
HTTP response headers to expose for cross-site requests.