| Did this page help you? Yes No Tell us about it... |
Creates a new DB Security Group.
rds-create-db-security-group
DBSecurityGroupName -d
(--db-security-group-description) value -v
(---ec2-vpc-id)value
[General Options]
| Name | Description | Required |
|---|---|---|
|
|
The name for the DB Security Group. This value is store as a lowercase string. 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 security group. Type: String Default: None Constraints: Must not exceed 255 characters. Example: |
Yes |
|
|
The identifier of an Amazon Virtual Private Cloud (VPC). This should only be specified when createing a DB Security Group for a VPC. Type: String Default: None Constraints: Must be the identifier of an existing VPC. |
Yes |
The command returns the following information:
NameDB Security Group name
DescriptionDB Security Group description
VpcIdIdentifier of the VPC to which this DB Security Group belongs
EC2 Group NameEC2 security group name
EC2 Owner IDEC2 security group owner
StatusStatus of authorization.
Valid values: authorizing | authorized |
revoking
IP RangeCIDR range for the security group
This example creates a new database security group.
PROMPT> rds-create-db-security-group --db-security-group-name mygroup --db-security-group-description "My Security Group"