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 (PDF).

LaunchTemplate

Use this structure to specify the launch templates and instance types (overrides) for 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.

Contents

LaunchTemplateSpecification

The launch template.

Type: LaunchTemplateSpecification object

Required: No

Overrides.member.N

Any properties that you specify override the same properties in the launch template.

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: