AWS::AutoScaling::AutoScalingGroup LaunchTemplate - AWS CloudFormation

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 EC2 launch template to use.

Required: Yes

Type: LaunchTemplateSpecification

Update requires: No interruption

Overrides

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.

If not provided, Amazon EC2 Auto Scaling will use the instance type specified in the launch template to launch instances.

Required: No

Type: List of LaunchTemplateOverrides

Update requires: No interruption