AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.AutoScaling.Model.MixedInstancesPolicy

Namespace: Amazon.AutoScaling.Model
Assembly: AWSSDK.AutoScaling.dll
Version: 3.x.y.z

Syntax

C#
public class MixedInstancesPolicy

The MixedInstancesPolicy type exposes the following members

Constructors

NameDescription
Public Method MixedInstancesPolicy()

Properties

NameTypeDescription
Public Property InstancesDistribution Amazon.AutoScaling.Model.InstancesDistribution

Gets and sets the property InstancesDistribution.

The instances distribution.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5