All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.AccessApplicationTargetCriteria.kt Maven / Gradle / Ivy

Go to download

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 AccessApplicationTargetCriteria(
    public val port: Int,
    public val protocol: String,
    public val targetAttributes: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.AccessApplicationTargetCriteria): AccessApplicationTargetCriteria = AccessApplicationTargetCriteria(
            port = javaType.port(),
            protocol = javaType.protocol(),
            targetAttributes = javaType.targetAttributes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.AccessApplicationTargetCriteriaTargetAttribute.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy