« blib/lib/Paws/AutoScaling/InstancesDistribution.pm
↑ Summary
blib/lib/Paws/AutoScaling/LaunchTemplateOverrides.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AutoScaling::LaunchTemplate; | ||
| 3 | use Moose; | ||
| 4 | has LaunchTemplateSpecification => (is => 'ro', isa => 'Paws::AutoScaling::LaunchTemplateSpecification'); | ||
| 5 | has Overrides => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::LaunchTemplateOverrides]'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::AutoScaling::LaunchTemplate | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchTemplate object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { LaunchTemplateSpecification => $value, ..., Overrides => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchTemplate object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->LaunchTemplateSpecification | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Describes a launch template and overrides. | ||
| 38 | |||
| 39 | You specify these properties as part of a mixed instances policy. | ||
| 40 | |||
| 41 | When you update the launch template or overrides, existing Amazon EC2 | ||
| 42 | instances continue to run. When scale out occurs, Amazon EC2 Auto | ||
| 43 | Scaling launches instances to match the new settings. When scale in | ||
| 44 | occurs, Amazon EC2 Auto Scaling terminates instances according to the | ||
| 45 | group's termination policies. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 LaunchTemplateSpecification => L<Paws::AutoScaling::LaunchTemplateSpecification> | ||
| 51 | |||
| 52 | The launch template to use. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Overrides => ArrayRef[L<Paws::AutoScaling::LaunchTemplateOverrides>] | ||
| 56 | |||
| 57 | Any properties that you specify override the same properties in the | ||
| 58 | launch template. If not provided, Amazon EC2 Auto Scaling uses the | ||
| 59 | instance type specified in the launch template when it launches an | ||
| 60 | instance. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head1 SEE ALSO | ||
| 65 | |||
| 66 | This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling> | ||
| 67 | |||
| 68 | =head1 BUGS and CONTRIBUTIONS | ||
| 69 | |||
| 70 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 71 | |||
| 72 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 73 | |||
| 74 | =cut | ||
| 75 |