probeASG

is_scaling_in_progress

Check if there is any scaling activity in progress for ASG matching tags

Activity as code

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

Typeprobe
Modulechaosaws.asg.probes
Nameis_scaling_in_progress
Returnboolean

Usage

JSON

{
  "name": "is-scaling-in-progress",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.asg.probes",
    "func": "is_scaling_in_progress",
    "arguments": {
      "tags": []
    }
  }
}

YAML

name: is-scaling-in-progress
provider:
  arguments:
    tags: []
  func: is_scaling_in_progress
  module: chaosaws.asg.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
tagslistnullNoASG TagsList of AWS tags for to identify ASG by tags instead of by names

Signature

def is_scaling_in_progress(tags: List[Dict[str, str]],
                           configuration: Dict[str, Dict[str, str]] = None,
                           secrets: Dict[str, Dict[str, str]] = None) -> bool:
    pass