1VM::EC2::DB::SecurityGrUosuepr(3Cpomn)tributed Perl DocuVmMe:n:tEaCt2i:o:nDB::SecurityGroup(3pm)
2
3
4
6 VM::EC2::DB::SecurityGroup - An RDS Database Security Group
7
9 $ec2 = VM::EC2->new(...);
10 @sg = $ec2->describe_db_security_groups;
11 foreach $group (@sg) {
12 print $_,"\n" foreach $group->IPRanges;
13 print $_->group_name,"\n" foreach $group->EC2SecurityGroups;
14 }
15
17 DBSecurityGroupDescription -- The description of the DB security group
18
19 DBSecurityGroupName -- The name of the DB security group
20
21 EC2SecurityGroups -- EC2 security groups enabled in the DB group
22
23 IPRanges -- IP Ranges enabled in the DB group
24
25 OwnerId -- The Owner ID of the DB security group
26
27 VpcId -- The VPC ID of the DB security group
28
29 ec2_security_groups -- Alias for EC2SecurityGroups
30
31 ip_ranges -- Alias for IPRanges
32
34 This object represents a DB Security Group. It is the resultant output
35 of the VM::EC2->describe_db_security_groups(),
36 VM::EC2->authorize_db_security_group_ingress(),
37 VM::EC2->create_db_security_group(), and
38 VM::EC2->revoke_db_security_group_ingress() calls.
39
41 When used in a string context, this object outputs the DB Security
42 Group Name.
43
45 VM::EC2 VM::EC2::Generic VM::EC2::DB::Instance
46
48 Lance Kinley <lkinley@loyaltymethods.com>.
49
50 Copyright (c) 2013 Loyalty Methods, Inc.
51
52 This package and its accompanying libraries is free software; you can
53 redistribute it and/or modify it under the terms of the GPL (either
54 version 1, or at your option, any later version) or the Artistic
55 License 2.0. Refer to LICENSE for the full license text. In addition,
56 please see DISCLAIMER.txt for disclaimers of warranty.
57
58
59
60perl v5.38.0 2023-07-21 VM::EC2::DB::SecurityGroup(3pm)