blib/lib/Paws/AutoScaling/BlockDeviceMapping.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AutoScaling::BlockDeviceMapping;
3 use Moose;
4 has DeviceName => (is => 'ro', isa => 'Str', required => 1);
5 has Ebs => (is => 'ro', isa => 'Paws::AutoScaling::Ebs');
6 has NoDevice => (is => 'ro', isa => 'Bool');
7 has VirtualName => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::AutoScaling::BlockDeviceMapping
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::BlockDeviceMapping object:
27  
28 $service_obj->Method(Att1 => { DeviceName => $value, ..., VirtualName => $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::BlockDeviceMapping object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->DeviceName
36  
37 =head1 DESCRIPTION
38  
39 Describes a block device mapping.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> DeviceName => Str
45  
46 The device name exposed to the EC2 instance (for example, C</dev/sdh>
47 or C<xvdh>). For more information, see Device Naming on Linux Instances
48 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html)
49 in the I<Amazon EC2 User Guide for Linux Instances>.
50  
51  
52 =head2 Ebs => L<Paws::AutoScaling::Ebs>
53  
54 Parameters used to automatically set up EBS volumes when an instance is
55 launched.
56  
57 You can specify either C<VirtualName> or C<Ebs>, but not both.
58  
59  
60 =head2 NoDevice => Bool
61  
62 Setting this value to C<true> suppresses the specified device included
63 in the block device mapping of the AMI.
64  
65 If C<NoDevice> is C<true> for the root device, instances might fail the
66 EC2 health check. In that case, Amazon EC2 Auto Scaling launches
67 replacement instances.
68  
69 If you specify C<NoDevice>, you cannot specify C<Ebs>.
70  
71  
72 =head2 VirtualName => Str
73  
74 The name of the virtual device (for example, C<ephemeral0>).
75  
76 You can specify either C<VirtualName> or C<Ebs>, but not both.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91