com.pulumi.awsnative.ec2.kotlin.enums.Ec2FleetInstanceRequirementsRequestLocalStorage.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 instance types with instance store volumes are included, excluded, or required. For more information, [Amazon EC2 instance store](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html) in the *Amazon EC2 User Guide* .
* - To include instance types with instance store volumes, specify `included` .
* - To require only instance types with instance store volumes, specify `required` .
* - To exclude instance types with instance store volumes, specify `excluded` .
* Default: `included`
*/
public enum class Ec2FleetInstanceRequirementsRequestLocalStorage(
public val javaValue: com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage,
) :
ConvertibleToJava {
Included(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage.Included),
Required(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage.Required),
Excluded(com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage.Excluded),
;
override fun toJava(): com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.enums.Ec2FleetInstanceRequirementsRequestLocalStorage): Ec2FleetInstanceRequirementsRequestLocalStorage =
Ec2FleetInstanceRequirementsRequestLocalStorage.values().first { it.javaValue == javaType }
}
}