Ec2FleetCapacityRebalanceReplacementStrategy

enum Ec2FleetCapacityRebalanceReplacementStrategy : Enum<Ec2FleetCapacityRebalanceReplacementStrategy> , ConvertibleToJava<Ec2FleetCapacityRebalanceReplacementStrategy>

The replacement strategy to use. Only available for fleets of type maintain . launch - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. EC2 Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running. launch-before-terminate - EC2 Fleet launches a replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.

Entries

Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: Ec2FleetCapacityRebalanceReplacementStrategy
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): Ec2FleetCapacityRebalanceReplacementStrategy
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.