actionRDS

delete_db_cluster

Deletes an Aurora DB cluster

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaosaws.rds.actions
Namedelete_db_cluster
Returnmapping

Usage

JSON

{
  "name": "delete-db-cluster",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.rds.actions",
    "func": "delete_db_cluster",
    "arguments": {
      "db_cluster_identifier": ""
    }
  }
}

YAML

name: delete-db-cluster
provider:
  arguments:
    db_cluster_identifier: ""
  func: delete_db_cluster
  module: chaosaws.rds.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
db_cluster_identifierstringYesDB Cluster IDDatabase cluster identifier
skip_final_snapshotbooleantrueNoSkip Final SnapshotWhether the final snapshot of the database should be skipped
delete_automated_backupsbooleantrueNoDelete Automated BackupsWhether to delete the existing automated backups

Signature

def delete_db_cluster(
        db_cluster_identifier: str,
        skip_final_snapshot: bool = True,
        db_snapshot_identifier: str = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass