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

com.pulumi.awsnative.ec2.kotlin.enums.Ec2FleetInstanceRequirementsRequestLocalStorage.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: 0.122.0.0
Show newest version
@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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy