DicomServiceCorsArgs

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

Constructors

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

Properties

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

Whether to allow credentials in CORS. Defaults to false.

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

A list of allowed headers for CORS.

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

A list of allowed methods for CORS.

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

A list of allowed origins for CORS.

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

The maximum age in seconds for the CORS configuration (must be between 0 and 99998 inclusive).

Functions

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