DesiredConfiguration - Amazon EC2 Auto Scaling

DesiredConfiguration

Describes the desired configuration for an instance refresh.

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

Contents

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.

Type: LaunchTemplateSpecification object

Required: No

MixedInstancesPolicy

Describes a mixed instances policy. A mixed instances policy contains the instance types that Amazon EC2 Auto Scaling can launch and other 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.

Type: MixedInstancesPolicy object

Required: No

See Also

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