Amazon Relational Database Service
Command Line Interface Reference (API Version 2012-04-23)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

rds-describe-db-subnet-groups

Description

Returns information about all DB Subnet Groups for an account if no DB Subnet Group name is supplied, or displays information about a specific named DB Subnet group.

Syntax

rds-describe-db-subnet-groups [DBSubnetGroupName ]

[--max-records value ]

[General Options]

Options

NameDescriptionRequired

DBSubnetGroupName

Database Subnet Group name. This value can also be supplied using the --db-subnet-group-name parameter.

Type: String

Default: None

No

Output

The command returns the following information:

  • Name—The name of the DB subnet group that was modified.

  • Description—The description of the DB subnet group that was modified.

  • Status—The status of the DB subnet group that was modified.

  • Subnet Identifier—The identifier of a contained subnet.

  • Subnet Availability Zone—The Availability Zone of the contained subnet.

  • Status—The status of the contained subnet.

Examples

Get a Description of All Security Groups

This example returns a description of all database security groups for the account, with column headers.

PROMPT> rds-describe-db-subnet-groups -H
                    
                    
SUBNETGROUP  Name     Description    Staus
SUBNETGROUP  mygroup  my group desc  Active
      SUBNET  Subnet Identifier  Subnet Availability Zone  Status
      SUBNET  mytestgroup        us-east-1c                Active