| Package | Description |
|---|---|
| software.amazon.awscdk.services.autoscaling |
Amazon EC2 Auto Scaling Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
default 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.
|
SpotAllocationStrategy |
InstancesDistribution.Jsii$Proxy.getSpotAllocationStrategy() |
static SpotAllocationStrategy |
SpotAllocationStrategy.valueOf(String name)
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 Type | Method and Description |
|---|---|
InstancesDistribution.Builder |
InstancesDistribution.Builder.spotAllocationStrategy(SpotAllocationStrategy spotAllocationStrategy)
Sets the value of
InstancesDistribution.getSpotAllocationStrategy() |
Copyright © 2022. All rights reserved.