line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::AutoScaling::Ebs; |
2
|
1
|
|
|
1
|
|
394
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
3
|
|
|
|
|
|
|
has DeleteOnTermination => (is => 'ro', isa => 'Bool'); |
4
|
|
|
|
|
|
|
has Encrypted => (is => 'ro', isa => 'Bool'); |
5
|
|
|
|
|
|
|
has Iops => (is => 'ro', isa => 'Int'); |
6
|
|
|
|
|
|
|
has SnapshotId => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has VolumeSize => (is => 'ro', isa => 'Int'); |
8
|
|
|
|
|
|
|
has VolumeType => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
1; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
### main pod documentation begin ### |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Paws::AutoScaling::Ebs |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 USAGE |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
This class represents one of two things: |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
24
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::AutoScaling::Ebs object: |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { DeleteOnTermination => $value, ..., VolumeType => $value }); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head3 Results returned from an API call |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::Ebs object: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
35
|
|
|
|
|
|
|
$result->Att1->DeleteOnTermination |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 DESCRIPTION |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Describes an Amazon EBS volume. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head2 DeleteOnTermination => Bool |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Indicates whether the volume is deleted on instance termination. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Default: C<true> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 Encrypted => Bool |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Indicates whether the volume should be encrypted. Encrypted EBS volumes |
54
|
|
|
|
|
|
|
must be attached to instances that support Amazon EBS encryption. |
55
|
|
|
|
|
|
|
Volumes that are created from encrypted snapshots are automatically |
56
|
|
|
|
|
|
|
encrypted. There is no way to create an encrypted volume from an |
57
|
|
|
|
|
|
|
unencrypted snapshot or an unencrypted volume from an encrypted |
58
|
|
|
|
|
|
|
snapshot. For more information, see Amazon EBS Encryption in the |
59
|
|
|
|
|
|
|
I<Amazon Elastic Compute Cloud User Guide>. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 Iops => Int |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The number of I/O operations per second (IOPS) to provision for the |
65
|
|
|
|
|
|
|
volume. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Constraint: Required when the volume type is C<io1>. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 SnapshotId => Str |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
The ID of the snapshot. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 VolumeSize => Int |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
The volume size, in GiB. For C<standard> volumes, specify a value from |
78
|
|
|
|
|
|
|
1 to 1,024. For C<io1> volumes, specify a value from 4 to 16,384. For |
79
|
|
|
|
|
|
|
C<gp2> volumes, specify a value from 1 to 16,384. If you specify a |
80
|
|
|
|
|
|
|
snapshot, the volume size must be equal to or larger than the snapshot |
81
|
|
|
|
|
|
|
size. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Default: If you create a volume from a snapshot and you don't specify a |
84
|
|
|
|
|
|
|
volume size, the default is the snapshot size. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 VolumeType => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The volume type. For more information, see Amazon EBS Volume Types in |
90
|
|
|
|
|
|
|
the I<Amazon Elastic Compute Cloud User Guide>. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Valid values: C<standard> | C<io1> | C<gp2> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Default: C<standard> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head1 SEE ALSO |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=cut |
109
|
|
|
|
|
|
|
|