com.pulumi.awsnative.vpclattice.kotlin.enums.TargetGroupConfigLambdaEventStructureVersion.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 version of the event structure that your Lambda function receives. Supported only if the target group type is `LAMBDA` . The default is `V1` .
*/
public enum class TargetGroupConfigLambdaEventStructureVersion(
public val javaValue: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigLambdaEventStructureVersion,
) :
ConvertibleToJava {
V1(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigLambdaEventStructureVersion.V1),
V2(com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigLambdaEventStructureVersion.V2),
;
override fun toJava(): com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigLambdaEventStructureVersion = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.enums.TargetGroupConfigLambdaEventStructureVersion): TargetGroupConfigLambdaEventStructureVersion =
TargetGroupConfigLambdaEventStructureVersion.values().first { it.javaValue == javaType }
}
}