blib/lib/Paws/AutoScaling/LaunchTemplateSpecification.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/AutoScaling/LaunchConfigurationsType.pm ↑ Summary blib/lib/Paws/AutoScaling/MetricCollectionType.pm »
1 # Generated by default/object.tt
2 package Paws::AutoScaling::LaunchTemplateSpecification;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has LaunchTemplateId => (is => 'ro', isa => 'Str');
5 1 has LaunchTemplateName => (is => 'ro', isa => 'Str');
6 1 has Version => (is => 'ro', isa => 'Str');
7  
8 1 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::AutoScaling::LaunchTemplateSpecification
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchTemplateSpecification object:
26  
27 $service_obj->Method(Att1 => { LaunchTemplateId => $value, ..., Version => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchTemplateSpecification object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->LaunchTemplateId
35  
36 =head1 DESCRIPTION
37  
38 Describes the Amazon EC2 launch template and the launch template
39 version that can be used by an Auto Scaling group to configure Amazon
40 EC2 instances.
41  
42 The launch template that is specified must be configured for use with
43 an Auto Scaling group. For more information, see Creating a launch
44 template for an Auto Scaling group
45 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html)
46 in the I<Amazon EC2 Auto Scaling User Guide>.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 LaunchTemplateId => Str
52  
53 The ID of the launch template. To get the template ID, use the Amazon
54 EC2 DescribeLaunchTemplates
55 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html)
56 API operation. New launch templates can be created using the Amazon EC2
57 CreateLaunchTemplate
58 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html)
59 API.
60  
61 Conditional: You must specify either a C<LaunchTemplateId> or a
62 C<LaunchTemplateName>.
63  
64  
65 =head2 LaunchTemplateName => Str
66  
67 The name of the launch template. To get the template name, use the
68 Amazon EC2 DescribeLaunchTemplates
69 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html)
70 API operation. New launch templates can be created using the Amazon EC2
71 CreateLaunchTemplate
72 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html)
73 API.
74  
75 Conditional: You must specify either a C<LaunchTemplateId> or a
76 C<LaunchTemplateName>.
77  
78  
79 =head2 Version => Str
80  
81 The version number, C<$Latest>, or C<$Default>. To get the version
82 number, use the Amazon EC2 DescribeLaunchTemplateVersions
83 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplateVersions.html)
84 API operation. New launch template versions can be created using the
85 Amazon EC2 CreateLaunchTemplateVersion
86 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)
87 API. If the value is C<$Latest>, Amazon EC2 Auto Scaling selects the
88 latest version of the launch template when launching instances. If the
89 value is C<$Default>, Amazon EC2 Auto Scaling selects the default
90 version of the launch template when launching instances. The default
91 value is C<$Default>.
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106  
« blib/lib/Paws/AutoScaling/LaunchConfigurationsType.pm ↑ Summary blib/lib/Paws/AutoScaling/MetricCollectionType.pm »