Amazon EC2 Auto Scaling
API Reference (API Version 2011-01-01)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

LaunchTemplate

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.

When you update the launch template or overrides, 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. You must specify either the launch template ID or launch template name in the request.

Type: LaunchTemplateSpecification object

Required: No

Overrides.member.N

Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You must specify between 2 and 20 overrides.

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:

On this page: