LaunchTemplate - Amazon EC2 Auto Scaling

LaunchTemplate

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 scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.

Contents

LaunchTemplateSpecification

The launch template to use.

Type: LaunchTemplateSpecification object

Required: No

Overrides.member.N

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

Type: Array of LaunchTemplateOverrides objects

Required: No

See Also

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