Uses of Enum
software.amazon.awscdk.services.autoscaling.SpotAllocationStrategy
Package
Description
Amazon EC2 Auto Scaling Construct Library
-
Uses of SpotAllocationStrategy in software.amazon.awscdk.services.autoscaling
Modifier and TypeMethodDescriptiondefault SpotAllocationStrategy
InstancesDistribution.getSpotAllocationStrategy()
If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify.final SpotAllocationStrategy
InstancesDistribution.Jsii$Proxy.getSpotAllocationStrategy()
static SpotAllocationStrategy
Returns the enum constant of this type with the specified name.static SpotAllocationStrategy[]
SpotAllocationStrategy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionInstancesDistribution.Builder.spotAllocationStrategy
(SpotAllocationStrategy spotAllocationStrategy) Sets the value ofInstancesDistribution.getSpotAllocationStrategy()