AWS::AutoScaling::AutoScalingGroup LaunchTemplate - AWS CloudFormation

AWS::AutoScaling::AutoScalingGroup LaunchTemplate

LaunchTemplate is a property of the AWS::AutoScaling::AutoScalingGroup MixedInstancesPolicy property type 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.

Required: Yes

Type: LaunchTemplateSpecification

Update requires: No interruption

Overrides

Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified in the launch template when it launches an instance.

The overrides can include either one or more instance types or a set of instance requirements, but not both.

Required: No

Type: List of LaunchTemplateOverrides

Update requires: No interruption