com.pulumi.cloudflare.kotlin.outputs.CustomSslCustomSslOptions.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property bundleMethod Method of building intermediate certificate chain. A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it. Available values: `ubiquitous`, `optimal`, `force`.
* @property certificate Certificate certificate and the intermediate(s).
* @property geoRestrictions Specifies the region where your private key can be held locally. Available values: `us`, `eu`, `highest_security`.
* @property privateKey Certificate's private key.
* @property type Whether to enable support for legacy clients which do not include SNI in the TLS handshake. Available values: `legacy_custom`, `sni_custom`.
*/
public data class CustomSslCustomSslOptions(
public val bundleMethod: String? = null,
public val certificate: String? = null,
public val geoRestrictions: String? = null,
public val privateKey: String? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.CustomSslCustomSslOptions): CustomSslCustomSslOptions = CustomSslCustomSslOptions(
bundleMethod = javaType.bundleMethod().map({ args0 -> args0 }).orElse(null),
certificate = javaType.certificate().map({ args0 -> args0 }).orElse(null),
geoRestrictions = javaType.geoRestrictions().map({ args0 -> args0 }).orElse(null),
privateKey = javaType.privateKey().map({ args0 -> args0 }).orElse(null),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}