line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::OpsWorks::Instance; |
2
|
1
|
|
|
1
|
|
615
|
use Moose; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
9
|
|
3
|
|
|
|
|
|
|
has AgentVersion => (is => 'ro', isa => 'Str'); |
4
|
|
|
|
|
|
|
has AmiId => (is => 'ro', isa => 'Str'); |
5
|
|
|
|
|
|
|
has Architecture => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Arn => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has AutoScalingType => (is => 'ro', isa => 'Str'); |
8
|
|
|
|
|
|
|
has AvailabilityZone => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::OpsWorks::BlockDeviceMapping]'); |
10
|
|
|
|
|
|
|
has CreatedAt => (is => 'ro', isa => 'Str'); |
11
|
|
|
|
|
|
|
has EbsOptimized => (is => 'ro', isa => 'Bool'); |
12
|
|
|
|
|
|
|
has Ec2InstanceId => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has EcsClusterArn => (is => 'ro', isa => 'Str'); |
14
|
|
|
|
|
|
|
has EcsContainerInstanceArn => (is => 'ro', isa => 'Str'); |
15
|
|
|
|
|
|
|
has ElasticIp => (is => 'ro', isa => 'Str'); |
16
|
|
|
|
|
|
|
has Hostname => (is => 'ro', isa => 'Str'); |
17
|
|
|
|
|
|
|
has InfrastructureClass => (is => 'ro', isa => 'Str'); |
18
|
|
|
|
|
|
|
has InstallUpdatesOnBoot => (is => 'ro', isa => 'Bool'); |
19
|
|
|
|
|
|
|
has InstanceId => (is => 'ro', isa => 'Str'); |
20
|
|
|
|
|
|
|
has InstanceProfileArn => (is => 'ro', isa => 'Str'); |
21
|
|
|
|
|
|
|
has InstanceType => (is => 'ro', isa => 'Str'); |
22
|
|
|
|
|
|
|
has LastServiceErrorId => (is => 'ro', isa => 'Str'); |
23
|
|
|
|
|
|
|
has LayerIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
24
|
|
|
|
|
|
|
has Os => (is => 'ro', isa => 'Str'); |
25
|
|
|
|
|
|
|
has Platform => (is => 'ro', isa => 'Str'); |
26
|
|
|
|
|
|
|
has PrivateDns => (is => 'ro', isa => 'Str'); |
27
|
|
|
|
|
|
|
has PrivateIp => (is => 'ro', isa => 'Str'); |
28
|
|
|
|
|
|
|
has PublicDns => (is => 'ro', isa => 'Str'); |
29
|
|
|
|
|
|
|
has PublicIp => (is => 'ro', isa => 'Str'); |
30
|
|
|
|
|
|
|
has RegisteredBy => (is => 'ro', isa => 'Str'); |
31
|
|
|
|
|
|
|
has ReportedAgentVersion => (is => 'ro', isa => 'Str'); |
32
|
|
|
|
|
|
|
has ReportedOs => (is => 'ro', isa => 'Paws::OpsWorks::ReportedOs'); |
33
|
|
|
|
|
|
|
has RootDeviceType => (is => 'ro', isa => 'Str'); |
34
|
|
|
|
|
|
|
has RootDeviceVolumeId => (is => 'ro', isa => 'Str'); |
35
|
|
|
|
|
|
|
has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
36
|
|
|
|
|
|
|
has SshHostDsaKeyFingerprint => (is => 'ro', isa => 'Str'); |
37
|
|
|
|
|
|
|
has SshHostRsaKeyFingerprint => (is => 'ro', isa => 'Str'); |
38
|
|
|
|
|
|
|
has SshKeyName => (is => 'ro', isa => 'Str'); |
39
|
|
|
|
|
|
|
has StackId => (is => 'ro', isa => 'Str'); |
40
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Str'); |
41
|
|
|
|
|
|
|
has SubnetId => (is => 'ro', isa => 'Str'); |
42
|
|
|
|
|
|
|
has Tenancy => (is => 'ro', isa => 'Str'); |
43
|
|
|
|
|
|
|
has VirtualizationType => (is => 'ro', isa => 'Str'); |
44
|
|
|
|
|
|
|
1; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
### main pod documentation begin ### |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 NAME |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Paws::OpsWorks::Instance |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 USAGE |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This class represents one of two things: |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
59
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::OpsWorks::Instance object: |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AgentVersion => $value, ..., VirtualizationType => $value }); |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head3 Results returned from an API call |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Instance object: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
70
|
|
|
|
|
|
|
$result->Att1->AgentVersion |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 DESCRIPTION |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Describes an instance. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 AgentVersion => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The agent version. This parameter is set to C<INHERIT> if the instance |
82
|
|
|
|
|
|
|
inherits the default stack setting or to a a version number for a fixed |
83
|
|
|
|
|
|
|
agent version. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 AmiId => Str |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
A custom AMI ID to be used to create the instance. For more |
89
|
|
|
|
|
|
|
information, see Instances |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 Architecture => Str |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
The instance architecture: "i386" or "x86_64". |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 Arn => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 AutoScalingType => Str |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
For load-based or time-based instances, the type. |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 AvailabilityZone => Str |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The instance Availability Zone. For more information, see Regions and |
110
|
|
|
|
|
|
|
Endpoints. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 BlockDeviceMappings => ArrayRef[L<Paws::OpsWorks::BlockDeviceMapping>] |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
An array of C<BlockDeviceMapping> objects that specify the instance's |
116
|
|
|
|
|
|
|
block device mappings. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 CreatedAt => Str |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The time that the instance was created. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 EbsOptimized => Bool |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Whether this is an Amazon EBS-optimized instance. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 Ec2InstanceId => Str |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The ID of the associated Amazon EC2 instance. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 EcsClusterArn => Str |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
For container instances, the Amazon ECS cluster's ARN. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 EcsContainerInstanceArn => Str |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
For container instances, the instance's ARN. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
=head2 ElasticIp => Str |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
The instance Elastic IP address . |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 Hostname => Str |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
The instance host name. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=head2 InfrastructureClass => Str |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
For registered instances, the infrastructure class: C<ec2> or |
157
|
|
|
|
|
|
|
C<on-premises>. |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=head2 InstallUpdatesOnBoot => Bool |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
Whether to install operating system and package updates when the |
163
|
|
|
|
|
|
|
instance boots. The default value is C<true>. If this value is set to |
164
|
|
|
|
|
|
|
C<false>, you must then update your instances manually by using |
165
|
|
|
|
|
|
|
CreateDeployment to run the C<update_dependencies> stack command or by |
166
|
|
|
|
|
|
|
manually running C<yum> (Amazon Linux) or C<apt-get> (Ubuntu) on the |
167
|
|
|
|
|
|
|
instances. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
We strongly recommend using the default value of C<true>, to ensure |
170
|
|
|
|
|
|
|
that your instances have the latest security updates. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
=head2 InstanceId => Str |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
The instance ID. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=head2 InstanceProfileArn => Str |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
The ARN of the instance's IAM profile. For more information about IAM |
181
|
|
|
|
|
|
|
ARNs, see Using Identifiers. |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=head2 InstanceType => Str |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
The instance type, such as C<t2.micro>. |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=head2 LastServiceErrorId => Str |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
The ID of the last service error. For more information, call |
192
|
|
|
|
|
|
|
DescribeServiceErrors. |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
=head2 LayerIds => ArrayRef[Str|Undef] |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
An array containing the instance layer IDs. |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=head2 Os => Str |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
The instance's operating system. |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
=head2 Platform => Str |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
The instance's platform. |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
=head2 PrivateDns => Str |
211
|
|
|
|
|
|
|
|
212
|
|
|
|
|
|
|
The instance's private DNS name. |
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head2 PrivateIp => Str |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
The instance's private IP address. |
218
|
|
|
|
|
|
|
|
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
=head2 PublicDns => Str |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
The instance public DNS name. |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
=head2 PublicIp => Str |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
The instance public IP address. |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
|
230
|
|
|
|
|
|
|
=head2 RegisteredBy => Str |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
For registered instances, who performed the registration. |
233
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=head2 ReportedAgentVersion => Str |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
The instance's reported AWS OpsWorks Stacks agent version. |
238
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
=head2 ReportedOs => L<Paws::OpsWorks::ReportedOs> |
241
|
|
|
|
|
|
|
|
242
|
|
|
|
|
|
|
For registered instances, the reported operating system. |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
=head2 RootDeviceType => Str |
246
|
|
|
|
|
|
|
|
247
|
|
|
|
|
|
|
The instance's root device type. For more information, see Storage for |
248
|
|
|
|
|
|
|
the Root Device. |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
=head2 RootDeviceVolumeId => Str |
252
|
|
|
|
|
|
|
|
253
|
|
|
|
|
|
|
The root device volume ID. |
254
|
|
|
|
|
|
|
|
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
=head2 SecurityGroupIds => ArrayRef[Str|Undef] |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
An array containing the instance security group IDs. |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
=head2 SshHostDsaKeyFingerprint => Str |
262
|
|
|
|
|
|
|
|
263
|
|
|
|
|
|
|
The SSH key's Deep Security Agent (DSA) fingerprint. |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
=head2 SshHostRsaKeyFingerprint => Str |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
The SSH key's RSA fingerprint. |
269
|
|
|
|
|
|
|
|
270
|
|
|
|
|
|
|
|
271
|
|
|
|
|
|
|
=head2 SshKeyName => Str |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
The instance's Amazon EC2 key-pair name. |
274
|
|
|
|
|
|
|
|
275
|
|
|
|
|
|
|
|
276
|
|
|
|
|
|
|
=head2 StackId => Str |
277
|
|
|
|
|
|
|
|
278
|
|
|
|
|
|
|
The stack ID. |
279
|
|
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
|
|
|
|
|
|
=head2 Status => Str |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
The instance status: |
284
|
|
|
|
|
|
|
|
285
|
|
|
|
|
|
|
=over |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
=item * |
288
|
|
|
|
|
|
|
|
289
|
|
|
|
|
|
|
C<booting> |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
=item * |
292
|
|
|
|
|
|
|
|
293
|
|
|
|
|
|
|
C<connection_lost> |
294
|
|
|
|
|
|
|
|
295
|
|
|
|
|
|
|
=item * |
296
|
|
|
|
|
|
|
|
297
|
|
|
|
|
|
|
C<online> |
298
|
|
|
|
|
|
|
|
299
|
|
|
|
|
|
|
=item * |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
C<pending> |
302
|
|
|
|
|
|
|
|
303
|
|
|
|
|
|
|
=item * |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
C<rebooting> |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
=item * |
308
|
|
|
|
|
|
|
|
309
|
|
|
|
|
|
|
C<requested> |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
=item * |
312
|
|
|
|
|
|
|
|
313
|
|
|
|
|
|
|
C<running_setup> |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
=item * |
316
|
|
|
|
|
|
|
|
317
|
|
|
|
|
|
|
C<setup_failed> |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
=item * |
320
|
|
|
|
|
|
|
|
321
|
|
|
|
|
|
|
C<shutting_down> |
322
|
|
|
|
|
|
|
|
323
|
|
|
|
|
|
|
=item * |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
C<start_failed> |
326
|
|
|
|
|
|
|
|
327
|
|
|
|
|
|
|
=item * |
328
|
|
|
|
|
|
|
|
329
|
|
|
|
|
|
|
C<stop_failed> |
330
|
|
|
|
|
|
|
|
331
|
|
|
|
|
|
|
=item * |
332
|
|
|
|
|
|
|
|
333
|
|
|
|
|
|
|
C<stopped> |
334
|
|
|
|
|
|
|
|
335
|
|
|
|
|
|
|
=item * |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
C<stopping> |
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
=item * |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
C<terminated> |
342
|
|
|
|
|
|
|
|
343
|
|
|
|
|
|
|
=item * |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
C<terminating> |
346
|
|
|
|
|
|
|
|
347
|
|
|
|
|
|
|
=back |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
|
350
|
|
|
|
|
|
|
|
351
|
|
|
|
|
|
|
=head2 SubnetId => Str |
352
|
|
|
|
|
|
|
|
353
|
|
|
|
|
|
|
The instance's subnet ID; applicable only if the stack is running in a |
354
|
|
|
|
|
|
|
VPC. |
355
|
|
|
|
|
|
|
|
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
=head2 Tenancy => Str |
358
|
|
|
|
|
|
|
|
359
|
|
|
|
|
|
|
The instance's tenancy option, such as C<dedicated> or C<host>. |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
|
362
|
|
|
|
|
|
|
=head2 VirtualizationType => Str |
363
|
|
|
|
|
|
|
|
364
|
|
|
|
|
|
|
The instance's virtualization type: C<paravirtual> or C<hvm>. |
365
|
|
|
|
|
|
|
|
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
|
368
|
|
|
|
|
|
|
=head1 SEE ALSO |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks> |
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
373
|
|
|
|
|
|
|
|
374
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
375
|
|
|
|
|
|
|
|
376
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
=cut |
379
|
|
|
|
|
|
|
|