LaunchTemplate - Amazon EC2 Auto Scaling
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.


Describes a launch template and overrides. You specify these properties as part of a mixed instances policy.

When you update the launch template or overrides in the UpdateAutoScalingGroup API call, existing Amazon EC2 instances continue to run. When scaling out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scaling in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.



The launch template to use.

Type: LaunchTemplateSpecification object

Required: No


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.

Type: Array of LaunchTemplateOverrides objects

Required: No

See Also

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