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

com.pulumi.cloudflare.kotlin.outputs.ZeroTrustAccessMtlsHostnameSettingsSetting.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.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 ZeroTrustAccessMtlsHostnameSettingsSetting(
    public val chinaNetwork: Boolean? = null,
    public val clientCertificateForwarding: Boolean? = null,
    public val hostname: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustAccessMtlsHostnameSettingsSetting): ZeroTrustAccessMtlsHostnameSettingsSetting = ZeroTrustAccessMtlsHostnameSettingsSetting(
            chinaNetwork = javaType.chinaNetwork().map({ args0 -> args0 }).orElse(null),
            clientCertificateForwarding = javaType.clientCertificateForwarding().map({ args0 ->
                args0
            }).orElse(null),
            hostname = javaType.hostname(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy