
com.pulumi.awsnative.ec2.kotlin.enums.Ec2FleetExcessCapacityTerminationPolicy.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 running instances should be terminated if the total target capacity of the EC2 Fleet is decreased below the current size of the EC2 Fleet.
* Supported only for fleets of type `maintain` .
*/
public enum class Ec2FleetExcessCapacityTerminationPolicy(
public val javaValue: com.pulumi.awsnative.ec2.enums.Ec2FleetExcessCapacityTerminationPolicy,
) : ConvertibleToJava {
Termination(com.pulumi.awsnative.ec2.enums.Ec2FleetExcessCapacityTerminationPolicy.Termination),
NoTermination(com.pulumi.awsnative.ec2.enums.Ec2FleetExcessCapacityTerminationPolicy.NoTermination),
;
override fun toJava(): com.pulumi.awsnative.ec2.enums.Ec2FleetExcessCapacityTerminationPolicy =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.enums.Ec2FleetExcessCapacityTerminationPolicy): Ec2FleetExcessCapacityTerminationPolicy =
Ec2FleetExcessCapacityTerminationPolicy.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy