NAME

Paws::AutoScaling::LaunchTemplate

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchTemplate object:

$service_obj->Method(Att1 => { LaunchTemplateSpecification => $value, ..., Overrides => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchTemplate object:

$result = $service_obj->Method(...);
$result->Att1->LaunchTemplateSpecification

DESCRIPTION

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.

ATTRIBUTES

LaunchTemplateSpecification => Paws::AutoScaling::LaunchTemplateSpecification

The launch template to use. You must specify either the launch template ID or launch template name in the request.

Overrides => ArrayRef[Paws::AutoScaling::LaunchTemplateOverrides]

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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::AutoScaling

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues