| Did this page help you? Yes No Tell us about it... |
Returns information about all database security groups for an account if no database security group name is supplied, or displays information about a specific named database security group.
rds-describe-db-security-groups
[DBSecurityGroupName ]
[--max-records value ] [General
Options]
| Name | Description | Required |
|---|---|---|
|
|
Database security group name. This value can also be
supplied using the Type: String Default: None |
No |
The command returns the following information:
NameSecurity group name
DescriptionDescription of the database security group
EC2 Group NameEC2 Security Group name
EC2 Owner IdEC2 Security Group owner
StatusStatus of security group
authorization. Valid values: adding | active |
removing
IP Rangethe CIDR IP range allowed access to the security group
StatusStatus of authorization
for the IP Range. Valid values: authorizing |
authorized | revoking
This example returns a description of all database security groups for the account, with column headers.
PROMPT>rds-describe-db-security-groups -HSECGROUP Name Description SECGROUP Default Default EC2-SECGROUP EC2 Group Name EC2 Owner Id Status EC2-SECGROUP mytestgroup 210987654321 authorized IP-RANGE IP Range Status IP-RANGE 12.23.34.45/30 authorized IP-RANGE 1.2.3.4/32 authorized