AWS
get_cache_node_count
Returns the number of cache nodes associated to the cluster
Reboots one or more nodes in a cache cluster
Below are the details and signature of the activity Python module.
Type | action |
Module | chaosaws.elasticache.actions |
Name | reboot_cache_clusters |
Return | list |
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
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
cluster_ids | list | Yes | Cluster IDs | List of cluster identifiers | |
node_ids | list | null | No | Node IDs | List 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