AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 Auto Scaling AutoScalingGroup LaunchTemplate

The LaunchTemplate property type 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.

LaunchTemplate is a property of the MixedInstancesPolicy property type.

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

Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type.

You must specify between 2 and 20 overrides.

Required: Yes

Type: List of LaunchTemplateOverrides property types

Update requires: No interruption

See Also

On this page: