File Coverage

blib/lib/Net/Amazon/EC2/LaunchPermission.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::LaunchPermission;
2 2     2   1455 use Moose;
  2         6  
  2         18  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::LaunchPermission
7              
8             =head1 DESCRIPTION
9              
10             A class containing information about the group or user_id associated with this launch permission attribute.
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item group (required if user_id not defined)
17              
18             A launch permission for a group. Currently only 'all' is supported, which
19             gives public launch permissions. Either choose a group or a user_id but not both.
20              
21             =item user_id (required if group not defined)
22              
23             The AWS account id of the user with launch permissions.
24              
25             =back
26              
27             =cut
28              
29             has 'group' => ( is => 'ro', isa => 'Str' );
30             has 'user_id' => ( is => 'ro', isa => 'Str' );
31              
32             __PACKAGE__->meta->make_immutable();
33              
34             =head1 AUTHOR
35              
36             Jeff Kim <cpan@chosec.com>
37              
38             =head1 COPYRIGHT
39              
40             Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
41             under the same terms as Perl itself.
42              
43             =cut
44              
45 2     2   12263 no Moose;
  2         6  
  2         11  
46             1;