com.pulumi.cloudflare.kotlin.outputs.CustomHostnameSslSetting.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property ciphers List of SSL/TLS ciphers to associate with this certificate.
* @property earlyHints Whether early hints should be supported. Available values: `on`, `off`.
* @property http2 Whether HTTP2 should be supported. Available values: `on`, `off`.
* @property minTlsVersion Lowest version of TLS this certificate should support. Available values: `1.0`, `1.1`, `1.2`, `1.3`.
* @property tls13 Whether TLSv1.3 should be supported. Available values: `on`, `off`.
*/
public data class CustomHostnameSslSetting(
public val ciphers: List? = null,
public val earlyHints: String? = null,
public val http2: String? = null,
public val minTlsVersion: String? = null,
public val tls13: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.CustomHostnameSslSetting): CustomHostnameSslSetting = CustomHostnameSslSetting(
ciphers = javaType.ciphers().map({ args0 -> args0 }),
earlyHints = javaType.earlyHints().map({ args0 -> args0 }).orElse(null),
http2 = javaType.http2().map({ args0 -> args0 }).orElse(null),
minTlsVersion = javaType.minTlsVersion().map({ args0 -> args0 }).orElse(null),
tls13 = javaType.tls13().map({ args0 -> args0 }).orElse(null),
)
}
}