com.pulumi.cloudflare.kotlin.outputs.ZeroTrustAccessApplicationTargetCriteria.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property port The port that the targets use for the chosen communication protocol. A port cannot be assigned to multiple protocols.
* @property protocol The communication protocol your application secures.
* @property targetAttributes Contains a map of target attribute keys to target attribute values.
*/
public data class ZeroTrustAccessApplicationTargetCriteria(
public val port: Int,
public val protocol: String,
public val targetAttributes: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZeroTrustAccessApplicationTargetCriteria): ZeroTrustAccessApplicationTargetCriteria = ZeroTrustAccessApplicationTargetCriteria(
port = javaType.port(),
protocol = javaType.protocol(),
targetAttributes = javaType.targetAttributes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.cloudflare.kotlin.outputs.ZeroTrustAccessApplicationTargetCriteriaTargetAttribute.Companion.toKotlin(args0)
})
}),
)
}
}