probeELBv2

all_targets_healthy

Return true/false based on if all targets for listed target groups are healthy

Activity as code

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

Typeprobe
Modulechaosaws.elbv2.probes
Nameall_targets_healthy
Returnmapping

Usage

JSON

{
  "name": "all-targets-healthy",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.elbv2.probes",
    "func": "all_targets_healthy",
    "arguments": {
      "tg_names": []
    }
  }
}

YAML

name: all-targets-healthy
provider:
  arguments:
    tg_names: []
  func: all_targets_healthy
  module: chaosaws.elbv2.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
tg_nameslistYesTarget Group NamesList of target group names

Signature

def all_targets_healthy(
        tg_names: List[str],
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass