File Coverage

blib/lib/Paws/OpsWorks/BlockDeviceMapping.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::BlockDeviceMapping;
2 1     1   562 use Moose;
  1         2  
  1         8  
3             has DeviceName => (is => 'ro', isa => 'Str');
4             has Ebs => (is => 'ro', isa => 'Paws::OpsWorks::EbsBlockDevice');
5             has NoDevice => (is => 'ro', isa => 'Str');
6             has VirtualName => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::OpsWorks::BlockDeviceMapping
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::OpsWorks::BlockDeviceMapping object:
25              
26             $service_obj->Method(Att1 => { DeviceName => $value, ..., VirtualName => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::BlockDeviceMapping object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->DeviceName
34              
35             =head1 DESCRIPTION
36              
37             Describes a block device mapping. This data type maps directly to the
38             Amazon EC2 BlockDeviceMapping data type.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 DeviceName => Str
44              
45             The device name that is exposed to the instance, such as C</dev/sdh>.
46             For the root device, you can use the explicit device name or you can
47             set this parameter to C<ROOT_DEVICE> and AWS OpsWorks Stacks will
48             provide the correct device name.
49              
50              
51             =head2 Ebs => L<Paws::OpsWorks::EbsBlockDevice>
52              
53             An C<EBSBlockDevice> that defines how to configure an Amazon EBS volume
54             when the instance is launched.
55              
56              
57             =head2 NoDevice => Str
58              
59             Suppresses the specified device included in the AMI's block device
60             mapping.
61              
62              
63             =head2 VirtualName => Str
64              
65             The virtual device name. For more information, see BlockDeviceMapping.
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
72              
73             =head1 BUGS and CONTRIBUTIONS
74              
75             The source code is located here: https://github.com/pplu/aws-sdk-perl
76              
77             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
78              
79             =cut
80