All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustGatewayPolicyRuleSettingsUntrustedCertArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@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("fbtpjdkffvgrucvh")
    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("qgraeaiqejtlysoo")
    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,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy