com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.IngressTLSPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.kubernetes.extensions.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* IngressTLS describes the transport layer security associated with an Ingress.
* @property hosts Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
* @property secretName SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
*/
public data class IngressTLSPatch(
public val hosts: List? = null,
public val secretName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.extensions.v1beta1.outputs.IngressTLSPatch): IngressTLSPatch = IngressTLSPatch(
hosts = javaType.hosts().map({ args0 -> args0 }),
secretName = javaType.secretName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy