DOKK / manpages / debian 12 / libvm-ec2-perl / VM::EC2::DB::SecurityGroup.3pm.en
VM::EC2::DB::SecurityGroup(3pm) User Contributed Perl Documentation VM::EC2::DB::SecurityGroup(3pm)

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

 $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;
 }

 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

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.

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

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

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.

2022-10-14 perl v5.34.0