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

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

 use VM::EC2;
 $ec2 = VM::EC2->new(...);
 $group = $ec2->authorize_db_security_group_ingress(-db_security_group_name => 'dbgroup',
                                                    -ec2_security_group_name => 'ec2group',
                                                    -ec2_security_group_owner_id => '123456789123');
 print $_,"\n" foreach $group->EC2SecurityGroups;

This object represents an EC2 Security Group that is authorized in a DB Security Group.

In string context, this object returns the EC2 Security Group ID.

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