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

com.pulumi.cloudflare.kotlin.inputs.TeamsRuleRuleSettingsUntrustedCertArgs.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.TeamsRuleRuleSettingsUntrustedCertArgs.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 TeamsRuleRuleSettingsUntrustedCertArgs(
    public val action: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.TeamsRuleRuleSettingsUntrustedCertArgs =
        com.pulumi.cloudflare.inputs.TeamsRuleRuleSettingsUntrustedCertArgs.builder()
            .action(action?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TeamsRuleRuleSettingsUntrustedCertArgs].
 */
@PulumiTagMarker
public class TeamsRuleRuleSettingsUntrustedCertArgsBuilder 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("euavwlheqxdmvbii")
    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("xmiqinisyqsnvpxb")
    public suspend fun action(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.action = mapped
    }

    internal fun build(): TeamsRuleRuleSettingsUntrustedCertArgs =
        TeamsRuleRuleSettingsUntrustedCertArgs(
            action = action,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy