probeElastiCache

count_cache_clusters_from_replication_group

Returns the number of cache clusters that are part of the given ReplicationGroupId

Activity as code

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

Typeprobe
Modulechaosaws.elasticache.probes
Namecount_cache_clusters_from_replication_group
Returninteger

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

NameTypeDefaultRequiredTitleDescription
replication_group_idstringYesReplication 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