com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs.IngressTLSPatchArgs.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kubernetes.extensions.v1beta1.inputs.IngressTLSPatchArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* 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 IngressTLSPatchArgs(
public val hosts: Output>? = null,
public val secretName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.extensions.v1beta1.inputs.IngressTLSPatchArgs =
com.pulumi.kubernetes.extensions.v1beta1.inputs.IngressTLSPatchArgs.builder()
.hosts(hosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.secretName(secretName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IngressTLSPatchArgs].
*/
@PulumiTagMarker
public class IngressTLSPatchArgsBuilder internal constructor() {
private var hosts: Output>? = null
private var secretName: Output? = null
/**
* @param value 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.
*/
@JvmName("ejhdmfjqhhljqvnq")
public suspend fun hosts(`value`: Output>) {
this.hosts = value
}
@JvmName("hadmayanftgdhlxk")
public suspend fun hosts(vararg values: Output) {
this.hosts = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("iaxfqjiusssvtgdf")
public suspend fun hosts(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy