AWS
get_cache_node_status
Returns the status of the given cache cluster
Returns the number of cache clusters that are part of the given ReplicationGroupId
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosaws.elasticache.probes |
Name | count_cache_clusters_from_replication_group |
Return | integer |
Usage
JSON
{
"name": "count-cache-clusters-from-replication-group",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosaws.elasticache.probes",
"func": "count_cache_clusters_from_replication_group",
"arguments": {
"replication_group_id": ""
}
}
}
YAML
name: count-cache-clusters-from-replication-group
provider:
arguments:
replication_group_id: ""
func: count_cache_clusters_from_replication_group
module: chaosaws.elasticache.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
replication_group_id | string | Yes | Replication Group ID |
Signature
def count_cache_clusters_from_replication_group(
replication_group_id: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> int:
pass