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 an option group. You can delete an option group only if it is not associated with any DB instance.


rds-delete-option-group option-group-name


[General Options]


Name Description Required

--option-group-name value

Name of the option group to be deleted.

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-option-group my-option-group-name.


--force value

-f value

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



This example deletes an option group named TestOptionGroup.

PROMPT> rds-delete-option-group TestOptionGroup Once you delete this option group, it will no longer be available for use. Are you sure you want to delete this option group [Ny]