AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::AutoScaling::AutoScalingGroup LaunchTemplate

LaunchTemplate is a subproperty of MixedInstancesPolicy that describes a launch template and overrides. The overrides are used to override the instance type specified by the launch template with multiple instance types that can be used to launch On-Demand Instances and Spot Instances.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

Properties

LaunchTemplateSpecification

The launch template to use. You must specify either the launch template ID or launch template name in the request.

Required: Yes

Type: LaunchTemplateSpecification

Update requires: No interruption

Overrides

An optional setting. Any properties that you specify override the same properties in the launch template. Currently, the only supported override is instance type. You can specify between 1 and 20 instance types.

Required: No

Type: List of LaunchTemplateOverrides

Update requires: No interruption

On this page: