VM::EC2::DB::SecurityGroup3pm
An rds database security group
Usage
$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 groupDBSecurityGroupName -- The name of the DB security groupEC2SecurityGroups -- EC2 security groups enabled in the DB groupIPRanges -- IP Ranges enabled in the DB groupOwnerId -- The Owner ID of the DB security groupVpcId -- The VPC ID of the DB security groupec2_security_groups -- Alias for EC2SecurityGroupsip_ranges -- Alias for IPRanges
Overview
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.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.