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


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.


Deletes a db subnet group. The specified subnet group cannot be in use.


rds-delete-db-subnet-group db-subnet-group-name

[General Options]


Name Description Required

--db-subnet-group-name value

-n value

DB subnet 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-subnet-group my-db-subnet-group-name.

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.


--force value

-f value

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



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]