line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::DescribeInstanceAttributeResponse; |
2
|
2
|
|
|
2
|
|
1590
|
use Moose; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Net::Amazon::EC2::DescribeInstanceAttributeResponse |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
A class representing an instance attribute. |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=over |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=item instance_id (required) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
The instance id you you are describing the attributes of. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item block_device_mapping (optional) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Specifies how block devices are exposed to the instance. Each mapping is made up |
23
|
|
|
|
|
|
|
of a virtual_name and a device_name. This should be a Net::Amazon::EC2::BlockDeviceMapping |
24
|
|
|
|
|
|
|
object. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=item disable_api_termination (optional) |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Specifies whether the instance can be terminated. You must modify this attribute |
29
|
|
|
|
|
|
|
before you can terminate any "locked" instances. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=item instance_initiated_shutdown_behavior (optional) |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Specifies whether the instance's Amazon EBS volumes are deleted when the instance |
34
|
|
|
|
|
|
|
is shut down. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item instance_type (optional) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The instance type (e.g., m1.small, t2.medium, m3.xlarge, and so on). |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item kernel (optional) |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The kernel ID. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item ramdisk (optional) |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The RAM disk ID. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item root_device_name (optional) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The root device name (e.g., /dev/sda1). |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item user_data (optional) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
MIME, Base64-encoded user data. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
61
|
|
|
|
|
|
|
has 'disable_api_termination' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
62
|
|
|
|
|
|
|
has 'instance_initiated_shutdown_behavior' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
63
|
|
|
|
|
|
|
has 'instance_type' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
64
|
|
|
|
|
|
|
has 'kernel' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
65
|
|
|
|
|
|
|
has 'ramdisk' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
66
|
|
|
|
|
|
|
has 'root_device_name' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
67
|
|
|
|
|
|
|
has 'user_data' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
68
|
|
|
|
|
|
|
has 'block_device_mapping' => ( |
69
|
|
|
|
|
|
|
is => 'ro', |
70
|
|
|
|
|
|
|
isa => 'Maybe[ArrayRef[Net::Amazon::EC2::BlockDeviceMapping]]', |
71
|
|
|
|
|
|
|
required => 0, |
72
|
|
|
|
|
|
|
); |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 AUTHOR |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 COPYRIGHT |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
83
|
|
|
|
|
|
|
under the same terms as Perl itself. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |
86
|
|
|
|
|
|
|
|
87
|
2
|
|
|
2
|
|
13940
|
no Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
12
|
|
88
|
|
|
|
|
|
|
1; |