probeELBv2

targets_health_count

Count of healthy/unhealthy targets per targetgroup

Activity as code

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

Typeprobe
Modulechaosaws.elbv2.probes
Nametargets_health_count
Returnmapping

Usage

JSON

{
  "name": "targets-health-count",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.elbv2.probes",
    "func": "targets_health_count",
    "arguments": {
      "tg_names": []
    }
  }
}

YAML

name: targets-health-count
provider:
  arguments:
    tg_names: []
  func: targets_health_count
  module: chaosaws.elbv2.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
tg_nameslistYesTarget Group NamesList of target group names

Signature

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