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