blib/lib/Paws/EC2/ScheduledInstancesEbs.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::ScheduledInstancesEbs;
2 use Moose;
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) to provision for an
58 C<io1> or C<io2> volume, with a maximum ratio of 50 IOPS/GiB for
59 C<io1>, and 500 IOPS/GiB for C<io2>. Range is 100 to 64,000 IOPS for
60 volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on
61 instances built on the Nitro System
62 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances).
63 Other instance families guarantee performance up to 32,000 IOPS. For
64 more information, see Amazon EBS volume types
65 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
66 in the I<Amazon EC2 User Guide>.
67  
68 This parameter is valid only for Provisioned IOPS SSD (C<io1> and
69 C<io2>) volumes.
70  
71  
72 =head2 SnapshotId => Str
73  
74 The ID of the snapshot.
75  
76  
77 =head2 VolumeSize => Int
78  
79 The size of the volume, in GiB.
80  
81 Default: If you're creating the volume from a snapshot and don't
82 specify a volume size, the default is the snapshot size.
83  
84  
85 =head2 VolumeType => Str
86  
87 The volume type. C<gp2> for General Purpose SSD, C<io1> or C< io2> for
88 Provisioned IOPS SSD, Throughput Optimized HDD for C<st1>, Cold HDD for
89 C<sc1>, or C<standard> for Magnetic.
90  
91 Default: C<gp2>
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut