April 2018
Intermediate to advanced
280 pages
8h 37m
English
Finally, the RDS database instance can be deleted by creating a delete request object of the DeleteDBInstanceRequest class and passing the database instance identifier to its constructor. When a database instance is deleted from RDS, it tries to take a final snapshot of the database, before deleting the instance. The SkipFinalSnapshot property determines this. If you do not wish to take a final snapshot and directly delete the instance, set this property to true.
The following code snippet demonstrates how to delete an RDS instance:
DeleteDBInstanceRequest delete_request = new DeleteDBInstanceRequest("packtpub");delete_request.SkipFinalSnapshot = true; client.DeleteDBInstance(delete_request);
Now that you ...