Class GroupMixedInstancesPolicyInstancesDistributionArgs
Inherited Members
Namespace: Pulumi.Aws.AutoScaling.Inputs
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GroupMixedInstancesPolicyInstancesDistributionArgs : ResourceArgs
Constructors
View SourceGroupMixedInstancesPolicyInstancesDistributionArgs()
Declaration
public GroupMixedInstancesPolicyInstancesDistributionArgs()
Properties
View SourceOnDemandAllocationStrategy
Strategy to use when launching on-demand instances. Valid values: prioritized. Default: prioritized.
Declaration
public Input<string> OnDemandAllocationStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OnDemandBaseCapacity
Absolute minimum amount of desired capacity that must be fulfilled by on-demand instances. Default: 0.
Declaration
public Input<int> OnDemandBaseCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
OnDemandPercentageAboveBaseCapacity
Percentage split between on-demand and Spot instances above the base on-demand capacity. Default: 100.
Declaration
public Input<int> OnDemandPercentageAboveBaseCapacity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SpotAllocationStrategy
How to allocate capacity across the Spot pools. Valid values: lowest-price, capacity-optimized. Default: lowest-price.
Declaration
public Input<string> SpotAllocationStrategy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> SpotInstancePools { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> SpotMaxPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |