/usr/share/perl5/Net/Amazon/EC2/BlockDeviceMapping.pm is in libnet-amazon-ec2-perl 0.29-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | package Net::Amazon::EC2::BlockDeviceMapping;
use strict;
use Moose;
=head1 NAME
Net::Amazon::EC2::BlockDeviceMapping
=head1 DESCRIPTION
A class representing a block device mapping
=head1 ATTRIBUTES
=over
=item device_name (required)
Name of the device within Amazon EC2.
=item ebs (optional)
A Net::Amazon::EC2::EbsInstanceBlockDeviceMapping object representing the EBS mapping
=item virtual_name (optional)
A virtual device name.
=item no_device (optional)
Specifies the device name to suppress during instance launch.
=back
=cut
has 'device_name' => ( is => 'ro', isa => 'Str', required => 1 );
has 'ebs' => ( is => 'ro', isa => 'Maybe[Net::Amazon::EC2::EbsBlockDevice]|Maybe[Net::Amazon::EC2::EbsInstanceBlockDeviceMapping]', required => 0 );
has 'virtual_name' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
has 'no_device' => ( is => 'ro', isa => 'Maybe[Int]', required => 0 );
__PACKAGE__->meta->make_immutable();
=head1 AUTHOR
Jeff Kim <cpan@chosec.com>
=head1 COPYRIGHT
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
no Moose;
1;
|