| Did this page help you? Yes No Tell us about it... |
Updates an existing DB Subnet Group.
rds-modify-db-subnet-group
DBSubnetGroupName -d
(--db-subnet-group-description) value
-s (--db-subnet-list) "value"
[,value,...]] [General Options]
| Name | Description | Required |
|---|---|---|
|
|
DB Subnet Group identifier. This value can also be passed using the
Constraints: Must contain from 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. |
Yes |
|
|
The description of the DB Subnet Group Constraints: Cannot contain more than 255 characters. |
No |
|
|
A comma-delimited list of of subnets to include in this DB Subnet Group. Constraints: Cannot contain more than 255 characters. |
No |
The command returns the following information:
NameThe name of the DB subnet group that was modified.
DescriptionThe description of the DB subnet group that was modified.
StatusThe status of the DB subnet group that was modified.
Subnet IdentifierThe identifier of a contained subnet.
Subnet Availability ZoneThe Availability Zone of the contained subnet.
StatusThe status of the contained subnet.
This example shows how to modify a DB subnet group.
PROMPT>rds-modify-db-subnet-group --db-subnet-group-name mygroup --db-subnet-group-description "My Subnet Group" --db-subnet-list subnet1,subnet2,subnet3SUBNETGROUP Name Description Staus SUBNETGROUP mygroup my group desc Active SUBNET Subnet Identifier Subnet Availability Zone Status SUBNET mytestgroup us-east-1c Active