
com.pulumi.awsnative.vpclattice.kotlin.enums.TargetGroupConfigProtocol.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.vpclattice.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is `LAMBDA` .
*/
public enum class TargetGroupConfigProtocol(
public val javaValue: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol,
) : ConvertibleToJava {
Http(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol.Http),
Https(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol.Https),
Tcp(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol.Tcp),
;
override fun toJava(): com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocol): TargetGroupConfigProtocol =
TargetGroupConfigProtocol.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy