com.pulumi.awsnative.vpclattice.kotlin.enums.TargetGroupConfigProtocolVersion.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 version. The default is `HTTP1` . Not supported if the target group type is `LAMBDA` .
*/
public enum class TargetGroupConfigProtocolVersion(
public val javaValue: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion,
) : ConvertibleToJava {
Http1(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion.Http1),
Http2(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion.Http2),
Grpc(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion.Grpc),
;
override fun toJava(): com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigProtocolVersion): TargetGroupConfigProtocolVersion =
TargetGroupConfigProtocolVersion.values().first { it.javaValue == javaType }
}
}