+1 vote
in AWS by
How to delete RDS instance with RDS cluster in AWS using boto3?

1 Answer

0 votes
by

We can use delete_db_instance on rds client as given below:

rds_client = boto3.client('rds')

for cluster in result ["rds"]:
 print ("RDS DB is about to delete %s | in %s" % (cluster['DBInstanceIdentifier']))

 response = rds_client.delete_db_instance(DBInstanceIdentifier=cluster['DBInstanceIdentifier'])

 SkipFinalSnapshot=True
 DeleteAutomatedBackups=True

Related questions

0 votes
asked Mar 24 in AWS by DavidAnderson
0 votes
asked Mar 24 in AWS by DavidAnderson
...