AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z
public class MixedInstancesPolicy
The MixedInstancesPolicy type exposes the following members
Name | Description | |
---|---|---|
MixedInstancesPolicy() |
Name | Type | Description | |
---|---|---|---|
InstancesDistribution | Amazon.AutoScaling.Model.InstancesDistribution |
Gets and sets the property InstancesDistribution. The instances distribution. |
|
LaunchTemplate | Amazon.AutoScaling.Model.LaunchTemplate |
Gets and sets the property LaunchTemplate. One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5