probeRDS

cluster_membership_count

Count the number of cluster memberships

Activity as code

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

Typeprobe
Modulechaosaws.rds.probes
Namecluster_membership_count
Returninteger

Usage

JSON

{
  "name": "cluster-membership-count",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.rds.probes",
    "func": "cluster_membership_count",
    "arguments": {
      "cluster_id": ""
    }
  }
}

YAML

name: cluster-membership-count
provider:
  arguments:
    cluster_id: ""
  func: cluster_membership_count
  module: chaosaws.rds.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
cluster_idstringnullNoDB Cluster IDDatabase cluster identifier

Signature

def cluster_membership_count(cluster_id: str,
                             configuration: Dict[str, Dict[str, str]] = None,
                             secrets: Dict[str, Dict[str, str]] = None) -> int:
    pass