Spring Cloud Gateway Cors Args
data class SpringCloudGatewayCorsArgs(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 credentialsAllowed: Output<Boolean>? = null, val exposedHeaders: Output<List<String>>? = null, val maxAgeSeconds: Output<Int>? = null) : ConvertibleToJava<SpringCloudGatewayCorsArgs>
Constructors
Link copied to clipboard
constructor(allowedHeaders: Output<List<String>>? = null, allowedMethods: Output<List<String>>? = null, allowedOriginPatterns: Output<List<String>>? = null, allowedOrigins: Output<List<String>>? = null, credentialsAllowed: Output<Boolean>? = null, exposedHeaders: Output<List<String>>? = null, maxAgeSeconds: Output<Int>? = null)
Properties
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. Possible values are DELETE
, GET
, HEAD
, MERGE
, POST
, OPTIONS
and PUT
.
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
is user credentials are supported on cross-site requests?
Link copied to clipboard
HTTP response headers to expose for cross-site requests.
Link copied to clipboard
How long, in seconds, the response from a pre-flight request can be cached by clients.