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

com.pulumi.awsnative.vpclattice.kotlin.enums.TargetGroupHealthCheckConfigProtocolVersion.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 used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2` .
 */
public enum class TargetGroupHealthCheckConfigProtocolVersion(
    public val javaValue: com.pulumi.awsnative.vpclattice.enums.TargetGroupHealthCheckConfigProtocolVersion,
) :
    ConvertibleToJava {
    Http1(com.pulumi.awsnative.vpclattice.enums.TargetGroupHealthCheckConfigProtocolVersion.Http1),
    Http2(com.pulumi.awsnative.vpclattice.enums.TargetGroupHealthCheckConfigProtocolVersion.Http2),
    ;

    override fun toJava(): com.pulumi.awsnative.vpclattice.enums.TargetGroupHealthCheckConfigProtocolVersion = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.enums.TargetGroupHealthCheckConfigProtocolVersion): TargetGroupHealthCheckConfigProtocolVersion =
            TargetGroupHealthCheckConfigProtocolVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy