| Did this page help you? Yes No Tell us about it... |
Creates a new DB Subnet Group.
rds-create-db-subnet-group
DBSubnetGroupName -d
(--db-subnet-group-description) value, -s
(--db-subnet-list) value, [value,
...] [General Options]
| Name | Description | Required |
|---|---|---|
|
|
The name for the DB Subnet Group. This value is stored as a lowercase string. This parameter can also be set using
--db-subnet-group-name
Type: String Default: None Constraints: Must contain visible characters only. Must contain no more than 255 alphanumeric characters or hyphens. Must not be default. Example: |
Yes |
|
|
The description for the database subnet group. Type: String Default: None Constraints: Must not exceed 255 characters. Example: |
Yes |
|
|
A list of one or more subnets to add to this DB subnet group. Type: String Default: None Constraints: Must be existing subnets. Example: |
Yes |
The command returns the following information:
NameDB Subnet Group name
DescriptionDB Subnet Group description
StatusThe status of the DB Subnet Group.
Subnet Identifier Subnet Group identifier
Subnet Availability Zone The Subnet Availability Zone
StatusThe status of the subnet
This example creates a new database security group.
PROMPT> rds-create-db-subnet-group --db-subnet-group-name mygroup --db-subnet-group-description "My Subnet Group" --db-subnet-list subnet1, subnet2, subnet3