File Coverage

blib/lib/Paws/EC2/ScheduledInstancesEbs.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::EC2::ScheduledInstancesEbs;
2 1     1   601 use Moose;
  1         5  
  1         11  
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::EC2::ScheduledInstancesEbs
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::EC2::ScheduledInstancesEbs 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::EC2::ScheduledInstancesEbs object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->DeleteOnTermination
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 DeleteOnTermination => Bool
45              
46             Indicates whether the volume is deleted on instance termination.
47              
48              
49             =head2 Encrypted => Bool
50              
51             Indicates whether the volume is encrypted. You can attached encrypted
52             volumes only to instances that support them.
53              
54              
55             =head2 Iops => Int
56              
57             The number of I/O operations per second (IOPS) that the volume
58             supports. For io1 volumes, this represents the number of IOPS that are
59             provisioned for the volume. For C<gp2> volumes, this represents the
60             baseline performance of the volume and the rate at which the volume
61             accumulates I/O credits for bursting. For more information about C<gp2>
62             baseline performance, I/O credits, and bursting, see Amazon EBS Volume
63             Types in the I<Amazon Elastic Compute Cloud User Guide>.
64              
65             Constraint: Range is 100-20000 IOPS for C<io1> volumes and 100-10000
66             IOPS for C<gp2> volumes.
67              
68             Condition: This parameter is required for requests to create
69             C<io1>volumes; it is not used in requests to create C<gp2>, C<st1>,
70             C<sc1>, or C<standard> volumes.
71              
72              
73             =head2 SnapshotId => Str
74              
75             The ID of the snapshot.
76              
77              
78             =head2 VolumeSize => Int
79              
80             The size of the volume, in GiB.
81              
82             Default: If you're creating the volume from a snapshot and don't
83             specify a volume size, the default is the snapshot size.
84              
85              
86             =head2 VolumeType => Str
87              
88             The volume type. C<gp2> for General Purpose SSD, C<io1> for Provisioned
89             IOPS SSD, Throughput Optimized HDD for C<st1>, Cold HDD for C<sc1>, or
90             C<standard> for Magnetic.
91              
92             Default: C<standard>
93              
94              
95              
96             =head1 SEE ALSO
97              
98             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
99              
100             =head1 BUGS and CONTRIBUTIONS
101              
102             The source code is located here: https://github.com/pplu/aws-sdk-perl
103              
104             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
105              
106             =cut