Menu
Amazon Relational Database Service
Command Line Interface Reference (API Version 2014-10-31)

rds-delete-db-security-group

The Amazon RDS Command Line Interface (RDS CLI) has been deprecated. Instead, use the AWS CLI for RDS. To learn how to download and use the AWS CLI, see AWS Command Line Interface User Guide. For RDS commands available in the AWS CLI, see AWS CLI Reference for Amazon RDS.

The AWS CLI does not currently support the DownloadCompleteDBLogFile REST API action. To download an entire log file at once, rather than in parts using the download-db-log-file-portion command, use the last published RDS CLI and the rds-download-db-logfile command.

Description

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

Syntax

rds-delete-db-security-group db-security-group-name

[General Options]

Options

Name Description Required

--db-security-group-name value

-n value

The DB security group identifier.

This parameter is the default parameter and can be passed as the first value in the command and without a parameter name, for example: rds-delete-db-security-group my-db-security-group-name.

Yes

--force value

-f value

If specified, forces the deletion to proceed without a confirmation prompt.

No

Examples

Delete a DB Security Group

This example deletes a database security group.

Copy
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]