actionEKS

delete_cluster

Delete the given EKS cluster

Activity as code

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

Typeaction
Modulechaosaws.eks.actions
Namedelete_cluster
Returnmapping

Usage

JSON

{
  "name": "delete-cluster",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.eks.actions",
    "func": "delete_cluster"
  }
}

YAML

name: delete-cluster
provider:
  func: delete_cluster
  module: chaosaws.eks.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
namestringnullNoCluster Name

Signature

def delete_cluster(
        name: str = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass