VM::EC2::DB::SecurityGroup - An RDS Database Security Group
Contents
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.
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
Name
VM::EC2::DB::SecurityGroup - An RDS Database Security Group
See Also
VM::EC2 VM::EC2::Generic VM::EC2::DB::Instance
String Overloading
When used in a string context, this object outputs the DB Security Group Name.
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;
}
