/usr/share/perl5/Net/Amazon/EC2/SecurityGroup.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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | package Net::Amazon::EC2::SecurityGroup;
use Moose;
=head1 NAME
Net::Amazon::EC2::SecurityGroup
=head1 DESCRIPTION
A class representing a security group.
=head1 ATTRIBUTES
=over
=item owner_id (required)
The AWS Access Key ID of the owner of the security group.
=item group_name (required)
The name of the security group.
=item group_id (required)
The id of the security group.
=item group_description (required)
The description of the security group.
=item ip_permissions (optional)
An array ref of Net::Amazon::EC2::IpPermission objects for ingress.
=item ip_permissions_egress (optional)
An array ref of Net::Amazon::EC2::IpPermission objects for egress.
=cut
has 'owner_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'group_name' => ( is => 'ro', isa => 'Str', required => 1 );
has 'group_id' => ( is => 'ro', isa => 'Str', required => 1 );
has 'group_description' => ( is => 'ro', isa => 'Str', required => 1 );
has 'ip_permissions' => (
is => 'ro',
isa => 'Maybe[ArrayRef[Net::Amazon::EC2::IpPermission]]',
predicate => 'has_ip_permissions',
default => sub { [ ] },
);
has 'ip_permissions_egress' => (
is => 'ro',
isa => 'Maybe[ArrayRef[Net::Amazon::EC2::IpPermission]]',
predicate => 'has_ip_permissions_egress',
default => sub { [ ] },
);
__PACKAGE__->meta->make_immutable();
=back
=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;
|