File Coverage

blib/lib/Paws/OpsWorks/EbsBlockDevice.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::OpsWorks::EbsBlockDevice;
2 1     1   320 use Moose;
  1         2  
  1         6  
3             has DeleteOnTermination => (is => 'ro', isa => 'Bool');
4             has Iops => (is => 'ro', isa => 'Int');
5             has SnapshotId => (is => 'ro', isa => 'Str');
6             has VolumeSize => (is => 'ro', isa => 'Int');
7             has VolumeType => (is => 'ro', isa => 'Str');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::OpsWorks::EbsBlockDevice
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::OpsWorks::EbsBlockDevice object:
26              
27             $service_obj->Method(Att1 => { DeleteOnTermination => $value, ..., VolumeType => $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::OpsWorks::EbsBlockDevice object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->DeleteOnTermination
35              
36             =head1 DESCRIPTION
37              
38             Describes an Amazon EBS volume. This data type maps directly to the
39             Amazon EC2 EbsBlockDevice data type.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 DeleteOnTermination => Bool
45              
46             Whether the volume is deleted on instance termination.
47              
48              
49             =head2 Iops => Int
50              
51             The number of I/O operations per second (IOPS) that the volume
52             supports. For more information, see EbsBlockDevice.
53              
54              
55             =head2 SnapshotId => Str
56              
57             The snapshot ID.
58              
59              
60             =head2 VolumeSize => Int
61              
62             The volume size, in GiB. For more information, see EbsBlockDevice.
63              
64              
65             =head2 VolumeType => Str
66              
67             The volume type. C<gp2> for General Purpose (SSD) volumes, C<io1> for
68             Provisioned IOPS (SSD) volumes, and C<standard> for Magnetic volumes.
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83