App Spec Function Cors Args
data class AppSpecFunctionCorsArgs(val allowCredentials: Output<Boolean>? = null, val allowHeaders: Output<List<String>>? = null, val allowMethods: Output<List<String>>? = null, val allowOrigins: Output<AppSpecFunctionCorsAllowOriginsArgs>? = null, val exposeHeaders: Output<List<String>>? = null, val maxAge: Output<String>? = null) : ConvertibleToJava<AppSpecFunctionCorsArgs>
Properties
Link copied to clipboard
Whether browsers should expose the response to the client-side JavaScript code when the request’s credentials mode is include
. This configures the Access-Control-Allow-Credentials header.
Link copied to clipboard
The set of allowed HTTP request headers. This configures the Access-Control-Allow-Headers header.
Link copied to clipboard
The set of allowed HTTP methods. This configures the Access-Control-Allow-Methods header.
Link copied to clipboard
The set of allowed CORS origins. This configures the Access-Control-Allow-Origin header.
Link copied to clipboard
The set of HTTP response headers that browsers are allowed to access. This configures the Access-Control-Expose-Headers header.