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