File Coverage

blib/lib/Paws/AutoScaling/LaunchConfiguration.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::AutoScaling::LaunchConfiguration;
2 1     1   767 use Moose;
  1     1   2  
  1         9  
  1         585  
  1         2  
  1         9  
3             has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool');
4             has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::AutoScaling::BlockDeviceMapping]');
5             has ClassicLinkVPCId => (is => 'ro', isa => 'Str');
6             has ClassicLinkVPCSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has CreatedTime => (is => 'ro', isa => 'Str', required => 1);
8             has EbsOptimized => (is => 'ro', isa => 'Bool');
9             has IamInstanceProfile => (is => 'ro', isa => 'Str');
10             has ImageId => (is => 'ro', isa => 'Str', required => 1);
11             has InstanceMonitoring => (is => 'ro', isa => 'Paws::AutoScaling::InstanceMonitoring');
12             has InstanceType => (is => 'ro', isa => 'Str', required => 1);
13             has KernelId => (is => 'ro', isa => 'Str');
14             has KeyName => (is => 'ro', isa => 'Str');
15             has LaunchConfigurationARN => (is => 'ro', isa => 'Str');
16             has LaunchConfigurationName => (is => 'ro', isa => 'Str', required => 1);
17             has PlacementTenancy => (is => 'ro', isa => 'Str');
18             has RamdiskId => (is => 'ro', isa => 'Str');
19             has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
20             has SpotPrice => (is => 'ro', isa => 'Str');
21             has UserData => (is => 'ro', isa => 'Str');
22             1;
23              
24             ### main pod documentation begin ###
25              
26             =head1 NAME
27              
28             Paws::AutoScaling::LaunchConfiguration
29              
30             =head1 USAGE
31              
32             This class represents one of two things:
33              
34             =head3 Arguments in a call to a service
35              
36             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37             Each attribute should be used as a named argument in the calls that expect this type of object.
38              
39             As an example, if Att1 is expected to be a Paws::AutoScaling::LaunchConfiguration object:
40              
41             $service_obj->Method(Att1 => { AssociatePublicIpAddress => $value, ..., UserData => $value });
42              
43             =head3 Results returned from an API call
44              
45             Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::LaunchConfiguration object:
46              
47             $result = $service_obj->Method(...);
48             $result->Att1->AssociatePublicIpAddress
49              
50             =head1 DESCRIPTION
51              
52             Describes a launch configuration.
53              
54             =head1 ATTRIBUTES
55              
56              
57             =head2 AssociatePublicIpAddress => Bool
58              
59             [EC2-VPC] Indicates whether to assign a public IP address to each
60             instance.
61              
62              
63             =head2 BlockDeviceMappings => ArrayRef[L<Paws::AutoScaling::BlockDeviceMapping>]
64              
65             A block device mapping, which specifies the block devices for the
66             instance.
67              
68              
69             =head2 ClassicLinkVPCId => Str
70              
71             The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
72             to. This parameter can only be used if you are launching EC2-Classic
73             instances. For more information, see ClassicLink in the I<Amazon
74             Elastic Compute Cloud User Guide>.
75              
76              
77             =head2 ClassicLinkVPCSecurityGroups => ArrayRef[Str|Undef]
78              
79             The IDs of one or more security groups for the VPC specified in
80             C<ClassicLinkVPCId>. This parameter is required if you specify a
81             ClassicLink-enabled VPC, and cannot be used otherwise. For more
82             information, see ClassicLink in the I<Amazon Elastic Compute Cloud User
83             Guide>.
84              
85              
86             =head2 B<REQUIRED> CreatedTime => Str
87              
88             The creation date and time for the launch configuration.
89              
90              
91             =head2 EbsOptimized => Bool
92              
93             Controls whether the instance is optimized for EBS I/O (C<true>) or not
94             (C<false>).
95              
96              
97             =head2 IamInstanceProfile => Str
98              
99             The name or Amazon Resource Name (ARN) of the instance profile
100             associated with the IAM role for the instance.
101              
102              
103             =head2 B<REQUIRED> ImageId => Str
104              
105             The ID of the Amazon Machine Image (AMI).
106              
107              
108             =head2 InstanceMonitoring => L<Paws::AutoScaling::InstanceMonitoring>
109              
110             Controls whether instances in this group are launched with detailed
111             (C<true>) or basic (C<false>) monitoring.
112              
113              
114             =head2 B<REQUIRED> InstanceType => Str
115              
116             The instance type for the instances.
117              
118              
119             =head2 KernelId => Str
120              
121             The ID of the kernel associated with the AMI.
122              
123              
124             =head2 KeyName => Str
125              
126             The name of the key pair.
127              
128              
129             =head2 LaunchConfigurationARN => Str
130              
131             The Amazon Resource Name (ARN) of the launch configuration.
132              
133              
134             =head2 B<REQUIRED> LaunchConfigurationName => Str
135              
136             The name of the launch configuration.
137              
138              
139             =head2 PlacementTenancy => Str
140              
141             The tenancy of the instance, either C<default> or C<dedicated>. An
142             instance with C<dedicated> tenancy runs in an isolated, single-tenant
143             hardware and can only be launched into a VPC.
144              
145              
146             =head2 RamdiskId => Str
147              
148             The ID of the RAM disk associated with the AMI.
149              
150              
151             =head2 SecurityGroups => ArrayRef[Str|Undef]
152              
153             The security groups to associate with the instances.
154              
155              
156             =head2 SpotPrice => Str
157              
158             The price to bid when launching Spot Instances.
159              
160              
161             =head2 UserData => Str
162              
163             The user data available to the instances.
164              
165              
166              
167             =head1 SEE ALSO
168              
169             This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
170              
171             =head1 BUGS and CONTRIBUTIONS
172              
173             The source code is located here: https://github.com/pplu/aws-sdk-perl
174              
175             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
176              
177             =cut
178