Skip to content

/AWS1/CL_NEP=>DELETEDBCLUSTER()

About DeleteDBCluster

The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.

Note that the DB Cluster cannot be deleted if deletion protection is enabled. To delete it, you must first set its DeletionProtection field to False.

Method Signature

IMPORTING

Required arguments:

IV_DBCLUSTERIDENTIFIER TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing DBClusterIdentifier.

Optional arguments:

IV_SKIPFINALSNAPSHOT TYPE /AWS1/NEPBOOLEAN /AWS1/NEPBOOLEAN

Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted.

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is false.

Default: false

IV_FINALDBSNAPSHOTIDENTIFIER TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING

The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false.

Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.

Constraints:

  • Must be 1 to 255 letters, numbers, or hyphens.

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_NEPDELETEDBCLUSTRSLT /AWS1/CL_NEPDELETEDBCLUSTRSLT