| Package | Description |
|---|---|
| com.amazonaws.services.autoscaling.model |
| Modifier and Type | Method and Description |
|---|---|
InstancesDistribution |
InstancesDistribution.clone() |
InstancesDistribution |
MixedInstancesPolicy.getInstancesDistribution()
The instances distribution.
|
InstancesDistribution |
InstancesDistribution.withOnDemandAllocationStrategy(String onDemandAllocationStrategy)
The allocation strategy to apply to your On-Demand Instances when they are launched.
|
InstancesDistribution |
InstancesDistribution.withOnDemandBaseCapacity(Integer onDemandBaseCapacity)
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.
|
InstancesDistribution |
InstancesDistribution.withOnDemandPercentageAboveBaseCapacity(Integer onDemandPercentageAboveBaseCapacity)
Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond
OnDemandBaseCapacity. |
InstancesDistribution |
InstancesDistribution.withSpotAllocationStrategy(String spotAllocationStrategy)
The allocation strategy to apply to your Spot Instances when they are launched.
|
InstancesDistribution |
InstancesDistribution.withSpotInstancePools(Integer spotInstancePools)
The number of Spot Instance pools across which to allocate your Spot Instances.
|
InstancesDistribution |
InstancesDistribution.withSpotMaxPrice(String spotMaxPrice)
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MixedInstancesPolicy.setInstancesDistribution(InstancesDistribution instancesDistribution)
The instances distribution.
|
MixedInstancesPolicy |
MixedInstancesPolicy.withInstancesDistribution(InstancesDistribution instancesDistribution)
The instances distribution.
|
Copyright © 2023. All rights reserved.