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

com.pulumi.awsnative.ec2.kotlin.enums.Ec2FleetInstanceRequirementsRequestBareMetal.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 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 }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy