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

com.pulumi.awsnative.vpclattice.kotlin.enums.TargetGroupConfigProtocolVersion.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.

There is a newer version: 0.122.0.0
Show newest version
@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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy