MixedInstancesPolicy - Amazon EC2 Auto Scaling

MixedInstancesPolicy

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.

Contents

InstancesDistribution

The instances distribution.

Type: InstancesDistribution object

Required: No

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.

Type: LaunchTemplate object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: