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-delete-db-security-group

Description

Deletes a database security group. The specified security group cannot be in use by any DB Instances.

Syntax

rds-delete-db-security-group DBSecurityGroupName

[General Options]

Options

NameDescriptionRequired

DBSecurityGroupName

Database security group identifier.

This value can also be passed using the --db-security-group-name named parameter.

Constraints: Must contain 1 to 255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.

Yes

Examples

Delete a DB Security Group

This example deletes a database security group.

PROMPT> 
rds-delete-db-security-group mysecuritygroup

    Once you begin deleting this security group, it will no longer be available
    for setting access permissions on your DB Instances.
    Are you sure you want to delete this security group [Ny]