Class GroupMixedInstancesPolicyInstancesDistribution
Inheritance
Inherited Members
Namespace: Pulumi.Aws.AutoScaling.Outputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GroupMixedInstancesPolicyInstancesDistribution
Fields
View SourceOnDemandAllocationStrategy
Strategy to use when launching on-demand instances. Valid values: prioritized. Default: prioritized.
Declaration
public readonly string OnDemandAllocationStrategy
Field Value
| Type | Description |
|---|---|
| System.String |
OnDemandBaseCapacity
Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: 0.
Declaration
public readonly int? OnDemandBaseCapacity
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
OnDemandPercentageAboveBaseCapacity
Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: 100.
Declaration
public readonly int? OnDemandPercentageAboveBaseCapacity
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SpotAllocationStrategy
How to allocate capacity across the Spot pools. Valid values: lowest-price, capacity-optimized. Default: lowest-price.
Declaration
public readonly string SpotAllocationStrategy
Field Value
| Type | Description |
|---|---|
| System.String |
SpotInstancePools
Number of Spot pools per availability zone to allocate capacity. EC2 Auto Scaling selects the cheapest Spot pools and evenly allocates Spot capacity across the number of Spot pools that you specify. Default: 2.
Declaration
public readonly int? SpotInstancePools
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SpotMaxPrice
Maximum price per unit hour that the user is willing to pay for the Spot instances. Default: an empty string which means the on-demand price.
Declaration
public readonly string SpotMaxPrice
Field Value
| Type | Description |
|---|---|
| System.String |