com.pulumi.cloudflare.kotlin.inputs.ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property action Action to be taken when the SSL certificate of upstream is invalid. Available values: `pass_through`, `block`, `error`.
*/
public data class ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs(
public val action: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs =
com.pulumi.cloudflare.inputs.ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs.builder()
.action(action?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs].
*/
@PulumiTagMarker
public class ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgsBuilder internal constructor() {
private var action: Output? = null
/**
* @param value Action to be taken when the SSL certificate of upstream is invalid. Available values: `pass_through`, `block`, `error`.
*/
@JvmName("bapjfddanpqnvxbh")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value Action to be taken when the SSL certificate of upstream is invalid. Available values: `pass_through`, `block`, `error`.
*/
@JvmName("quibxxjcejrvqcsi")
public suspend fun action(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.action = mapped
}
internal fun build(): ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs =
ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs(
action = action,
)
}