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.

Describes the desired configuration for an instance refresh.

If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy.

Inheritance Hierarchy

System.Object
  Amazon.AutoScaling.Model.DesiredConfiguration

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

Syntax

C#
public class DesiredConfiguration

The DesiredConfiguration type exposes the following members

Constructors

NameDescription
Public Method DesiredConfiguration()

Properties

NameTypeDescription
Public Property LaunchTemplate Amazon.AutoScaling.Model.LaunchTemplateSpecification

Gets and sets the property LaunchTemplate.

Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

Public Property MixedInstancesPolicy Amazon.AutoScaling.Model.MixedInstancesPolicy

Gets and sets the property 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.

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