The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VM::EC2::DB::SecurityGroup - An RDS Database Security Group

SYNOPSIS

 $ec2     = VM::EC2->new(...);
 @sg = $ec2->describe_db_security_groups;
 foreach $group (@sg) {
   print $_,"\n" foreach $group->IPRanges;
   print $_->group_name,"\n" foreach $group->EC2SecurityGroups;
 }

METHODS

 DBSecurityGroupDescription    -- The description of the DB security group

 DBSecurityGroupName           -- The name of the DB security group

 EC2SecurityGroups             -- EC2 security groups enabled in the DB group

 IPRanges                      -- IP Ranges enabled in the DB group

 OwnerId                       -- The Owner ID of the DB security group

 VpcId                         -- The VPC ID of the DB security group

 ec2_security_groups           -- Alias for EC2SecurityGroups

 ip_ranges                     -- Alias for IPRanges

DESCRIPTION

This object represents a DB Security Group. It is the resultant output of the VM::EC2->describe_db_security_groups(), VM::EC2->authorize_db_security_group_ingress(), VM::EC2->create_db_security_group(), and VM::EC2->revoke_db_security_group_ingress() calls.

STRING OVERLOADING

When used in a string context, this object outputs the DB Security Group Name.

SEE ALSO

VM::EC2 VM::EC2::Generic VM::EC2::DB::Instance

AUTHOR

Lance Kinley <lkinley@loyaltymethods.com>.

Copyright (c) 2013 Loyalty Methods, Inc.

This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.