com.pulumi.awsnative.imagebuilder.kotlin.enums.ContainerRecipePlatformOverride.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.imagebuilder.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies the operating system platform when you use a custom source image.
*/
public enum class ContainerRecipePlatformOverride(
public val javaValue: com.pulumi.awsnative.imagebuilder.enums.ContainerRecipePlatformOverride,
) : ConvertibleToJava {
Windows(com.pulumi.awsnative.imagebuilder.enums.ContainerRecipePlatformOverride.Windows),
Linux(com.pulumi.awsnative.imagebuilder.enums.ContainerRecipePlatformOverride.Linux),
;
override fun toJava(): com.pulumi.awsnative.imagebuilder.enums.ContainerRecipePlatformOverride =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.enums.ContainerRecipePlatformOverride): ContainerRecipePlatformOverride =
ContainerRecipePlatformOverride.values().first { it.javaValue == javaType }
}
}