Deletes an RDS DB Instance

View on GitHub

Last Updated: Jan. 31, 2023

Access Instructions

Install the Amazon provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.


db_instance_identifierRequiredThe DB instance identifier for the DB instance to be deleted
rds_kwargsNamed arguments to pass to boto3 RDS client function delete_db_instance https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds.html#RDS.Client.delete_db_instance
aws_conn_idThe Airflow connection used for AWS credentials.
wait_for_completionIf True, waits for deletion of the DB instance to complete. (default: True)


Deletes an RDS DB Instance

See also

For more information on how to use this operator, take a look at the guide: Delete a database instance

Was this page helpful?