com.pulumi.gcp.networkservices.kotlin.outputs.TlsRouteRuleMatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.networkservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property alpns ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sniHost and alpn is required. Up to 5 alpns across all matches can be set.
* @property sniHosts SNI (server name indicator) to match against. SNI will be matched against all wildcard domains, i.e. www.example.com will be first matched against www.example.com, then *.example.com, then *.com.
* Partial wildcards are not supported, and values like *w.example.com are invalid. At least one of sniHost and alpn is required. Up to 5 sni hosts across all matches can be set.
*/
public data class TlsRouteRuleMatch(
public val alpns: List? = null,
public val sniHosts: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.TlsRouteRuleMatch): TlsRouteRuleMatch = TlsRouteRuleMatch(
alpns = javaType.alpns().map({ args0 -> args0 }),
sniHosts = javaType.sniHosts().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy