AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteDBInstance operation.
The DeleteDBInstance action deletes a previously provisioned DB instance. When you
delete a DB instance, all automated backups for that instance are deleted and cannot
be recovered. Manual DB snapshots of the DB instance to be deleted by
are not deleted.
If you request a final DB snapshot the status of the Amazon RDS DB instance is
until the DB snapshot is created. The API action
used to monitor the status of this operation. The action cannot be canceled or reverted
Note that when a DB instance is in a failure state and has a status of
incompatible-network, you can only
delete it when the
SkipFinalSnapshot parameter is set to
If the specified DB instance is part of an Amazon Aurora DB cluster, you cannot delete the DB instance if both of the following conditions are true:
The DB cluster is a Read Replica of another Amazon Aurora DB cluster.
The DB instance is the only instance in the DB cluster.
To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster
API action to promote the DB cluster so it's no longer a Read Replica. After the promotion
completes, then call the
DeleteDBInstance API action to delete the final
instance in the DB cluster.
public class DeleteDBInstanceRequest : AmazonRDSRequest IAmazonWebServiceRequest
The DeleteDBInstanceRequest type exposes the following members
Gets and sets the property DBInstanceIdentifier.
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Gets and sets the property FinalDBSnapshotIdentifier.
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is
Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.
Gets and sets the property SkipFinalSnapshot.
Determines whether a final DB snapshot is created before the DB instance is deleted.
Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".
The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms