actionElastiCache

reboot_cache_clusters

Reboots one or more nodes in a cache cluster

Activity as code

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

Typeaction
Modulechaosaws.elasticache.actions
Namereboot_cache_clusters
Returnlist

Usage

JSON

{
  "name": "reboot-cache-clusters",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosaws.elasticache.actions",
    "func": "reboot_cache_clusters",
    "arguments": {
      "cluster_ids": []
    }
  }
}

YAML

name: reboot-cache-clusters
provider:
  arguments:
    cluster_ids: []
  func: reboot_cache_clusters
  module: chaosaws.elasticache.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
cluster_idslistYesCluster IDsList of cluster identifiers
node_idslistnullNoNode IDsList of node identifiers

Signature

def reboot_cache_clusters(
        cluster_ids: List[str],
        node_ids: List[str] = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> List[Dict[str, Any]]:
    pass