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

com.pulumi.aws.lambda.kotlin.enums.Runtime.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.lambda.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
 */
public enum class Runtime(
    public val javaValue: com.pulumi.aws.lambda.enums.Runtime,
) : ConvertibleToJava {
    Dotnet6(com.pulumi.aws.lambda.enums.Runtime.Dotnet6),
    Dotnet8(com.pulumi.aws.lambda.enums.Runtime.Dotnet8),
    Java11(com.pulumi.aws.lambda.enums.Runtime.Java11),
    Java17(com.pulumi.aws.lambda.enums.Runtime.Java17),
    Java21(com.pulumi.aws.lambda.enums.Runtime.Java21),
    Java8AL2(com.pulumi.aws.lambda.enums.Runtime.Java8AL2),
    NodeJS18dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS18dX),
    NodeJS20dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS20dX),
    NodeJS22dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS22dX),
    CustomAL2(com.pulumi.aws.lambda.enums.Runtime.CustomAL2),
    CustomAL2023(com.pulumi.aws.lambda.enums.Runtime.CustomAL2023),
    Python3d10(com.pulumi.aws.lambda.enums.Runtime.Python3d10),
    Python3d11(com.pulumi.aws.lambda.enums.Runtime.Python3d11),
    Python3d12(com.pulumi.aws.lambda.enums.Runtime.Python3d12),
    Python3d13(com.pulumi.aws.lambda.enums.Runtime.Python3d13),
    Python3d9(com.pulumi.aws.lambda.enums.Runtime.Python3d9),
    Ruby3d2(com.pulumi.aws.lambda.enums.Runtime.Ruby3d2),
    Ruby3d3(com.pulumi.aws.lambda.enums.Runtime.Ruby3d3),
    Dotnet5d0(com.pulumi.aws.lambda.enums.Runtime.Dotnet5d0),
    Dotnet7(com.pulumi.aws.lambda.enums.Runtime.Dotnet7),
    DotnetCore2d1(com.pulumi.aws.lambda.enums.Runtime.DotnetCore2d1),
    DotnetCore3d1(com.pulumi.aws.lambda.enums.Runtime.DotnetCore3d1),
    Go1dx(com.pulumi.aws.lambda.enums.Runtime.Go1dx),
    Java8(com.pulumi.aws.lambda.enums.Runtime.Java8),
    NodeJS10dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS10dX),
    NodeJS12dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS12dX),
    NodeJS14dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS14dX),
    NodeJS16dX(com.pulumi.aws.lambda.enums.Runtime.NodeJS16dX),
    Custom(com.pulumi.aws.lambda.enums.Runtime.Custom),
    Python2d7(com.pulumi.aws.lambda.enums.Runtime.Python2d7),
    Python3d6(com.pulumi.aws.lambda.enums.Runtime.Python3d6),
    Python3d7(com.pulumi.aws.lambda.enums.Runtime.Python3d7),
    Python3d8(com.pulumi.aws.lambda.enums.Runtime.Python3d8),
    Ruby2d5(com.pulumi.aws.lambda.enums.Runtime.Ruby2d5),
    Ruby2d7(com.pulumi.aws.lambda.enums.Runtime.Ruby2d7),
    ;

    override fun toJava(): com.pulumi.aws.lambda.enums.Runtime = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.lambda.enums.Runtime): Runtime =
            Runtime.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy