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

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

An optional setting. Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You can specify between 1 and 20 instance types.

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: