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

com.pulumi.cloudflare.kotlin.inputs.ZeroTrustAccessMtlsHostnameSettingsSettingArgs.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.

There is a newer version: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.ZeroTrustAccessMtlsHostnameSettingsSettingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property chinaNetwork Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
 * @property clientCertificateForwarding Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
 * @property hostname The hostname that these settings apply to.
 */
public data class ZeroTrustAccessMtlsHostnameSettingsSettingArgs(
    public val chinaNetwork: Output? = null,
    public val clientCertificateForwarding: Output? = null,
    public val hostname: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.ZeroTrustAccessMtlsHostnameSettingsSettingArgs = com.pulumi.cloudflare.inputs.ZeroTrustAccessMtlsHostnameSettingsSettingArgs.builder()
        .chinaNetwork(chinaNetwork?.applyValue({ args0 -> args0 }))
        .clientCertificateForwarding(clientCertificateForwarding?.applyValue({ args0 -> args0 }))
        .hostname(hostname.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZeroTrustAccessMtlsHostnameSettingsSettingArgs].
 */
@PulumiTagMarker
public class ZeroTrustAccessMtlsHostnameSettingsSettingArgsBuilder internal constructor() {
    private var chinaNetwork: Output? = null

    private var clientCertificateForwarding: Output? = null

    private var hostname: Output? = null

    /**
     * @param value Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
     */
    @JvmName("mjuotonultstduba")
    public suspend fun chinaNetwork(`value`: Output) {
        this.chinaNetwork = value
    }

    /**
     * @param value Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
     */
    @JvmName("uhdfxavnbeeeoalt")
    public suspend fun clientCertificateForwarding(`value`: Output) {
        this.clientCertificateForwarding = value
    }

    /**
     * @param value The hostname that these settings apply to.
     */
    @JvmName("ukpscichhfaciadc")
    public suspend fun hostname(`value`: Output) {
        this.hostname = value
    }

    /**
     * @param value Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
     */
    @JvmName("saigwjoewstaqnjp")
    public suspend fun chinaNetwork(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.chinaNetwork = mapped
    }

    /**
     * @param value Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
     */
    @JvmName("ywvvlshudagtejat")
    public suspend fun clientCertificateForwarding(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientCertificateForwarding = mapped
    }

    /**
     * @param value The hostname that these settings apply to.
     */
    @JvmName("upuyappigxxwhdmk")
    public suspend fun hostname(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hostname = mapped
    }

    internal fun build(): ZeroTrustAccessMtlsHostnameSettingsSettingArgs =
        ZeroTrustAccessMtlsHostnameSettingsSettingArgs(
            chinaNetwork = chinaNetwork,
            clientCertificateForwarding = clientCertificateForwarding,
            hostname = hostname ?: throw PulumiNullFieldException("hostname"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy