FhirServiceCorsArgs

data class FhirServiceCorsArgs(val allowedHeaders: Output<List<String>>, val allowedMethods: Output<List<String>>, val allowedOrigins: Output<List<String>>, val credentialsAllowed: Output<Boolean>? = null, val maxAgeInSeconds: Output<Int>? = null) : ConvertibleToJava<FhirServiceCorsArgs>

Constructors

Link copied to clipboard
constructor(allowedHeaders: Output<List<String>>, allowedMethods: Output<List<String>>, allowedOrigins: Output<List<String>>, credentialsAllowed: Output<Boolean>? = null, maxAgeInSeconds: Output<Int>? = null)

Properties

Link copied to clipboard
val allowedHeaders: Output<List<String>>

A set of headers to be allowed via CORS.

Link copied to clipboard
val allowedMethods: Output<List<String>>

The methods to be allowed via CORS. Possible values are DELETE, GET, HEAD, MERGE, POST, OPTIONS, PATCH and PUT.

Link copied to clipboard
val allowedOrigins: Output<List<String>>

A set of origins to be allowed via CORS.

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

If credentials are allowed via CORS.

Link copied to clipboard
val maxAgeInSeconds: Output<Int>? = null

The max age to be allowed via CORS.

Functions

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