AppSpecIngressRuleCorsAllowOriginsArgs

data class AppSpecIngressRuleCorsAllowOriginsArgs(val exact: Output<String>? = null, val prefix: Output<String>? = null, val regex: Output<String>? = null) : ConvertibleToJava<AppSpecIngressRuleCorsAllowOriginsArgs>

Constructors

Link copied to clipboard
constructor(exact: Output<String>? = null, prefix: Output<String>? = null, regex: Output<String>? = null)

Properties

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

The Access-Control-Allow-Origin header will be set to the client's origin only if the client's origin exactly matches the value you provide.

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

The Access-Control-Allow-Origin header will be set to the client's origin if the beginning of the client's origin matches the value you provide.

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

The Access-Control-Allow-Origin header will be set to the client's origin if the client’s origin matches the regex you provide, in RE2 style syntax.

Functions

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