com.pulumi.aws.ec2.kotlin.enums.InstancePlatform.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.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