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

com.pulumi.aws.ec2.kotlin.enums.InstancePlatform.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.ec2.kotlin.enums

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

public enum class InstancePlatform(
    public val javaValue: com.pulumi.aws.ec2.enums.InstancePlatform,
) : ConvertibleToJava {
    LinuxUnix(com.pulumi.aws.ec2.enums.InstancePlatform.LinuxUnix),
    RedHatEnterpriseLinux(com.pulumi.aws.ec2.enums.InstancePlatform.RedHatEnterpriseLinux),
    SuseLinux(com.pulumi.aws.ec2.enums.InstancePlatform.SuseLinux),
    Windows(com.pulumi.aws.ec2.enums.InstancePlatform.Windows),
    WindowsWithSqlServer(com.pulumi.aws.ec2.enums.InstancePlatform.WindowsWithSqlServer),
    WindowsWithSqlServerEnterprise(com.pulumi.aws.ec2.enums.InstancePlatform.WindowsWithSqlServerEnterprise),
    WindowsWithSqlServerStandard(com.pulumi.aws.ec2.enums.InstancePlatform.WindowsWithSqlServerStandard),
    WindowsWithSqlServerWeb(com.pulumi.aws.ec2.enums.InstancePlatform.WindowsWithSqlServerWeb),
    ;

    override fun toJava(): com.pulumi.aws.ec2.enums.InstancePlatform = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy