com.pulumi.awsnative.ec2.kotlin.enums.Ec2FleetInstanceRequirementsRequestBareMetal.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.ec2.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates whether bare metal instance types must be included, excluded, or required.
* - To include bare metal instance types, specify `included` .
* - To require only bare metal instance types, specify `required` .
* - To exclude bare metal instance types, specify `excluded` .
* Default: `excluded`
*/
public enum class Ec2FleetInstanceRequirementsRequestBareMetal(
public val javaValue: com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal,
) : ConvertibleToJava {
Included(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal.Included),
Required(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal.Required),
Excluded(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal.Excluded),
;
override fun toJava(): com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestBareMetal): Ec2FleetInstanceRequirementsRequestBareMetal =
Ec2FleetInstanceRequirementsRequestBareMetal.values().first { it.javaValue == javaType }
}
}