AWS
process_is_suspended
Determines if one or more processes on an ASG are suspended.
Returns if desired number matches the number of healthy instances for each of the auto-scaling groups
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosaws.asg.probes |
Name | desired_equals_healthy |
Return | boolean |
Usage
JSON
{
"name": "desired-equals-healthy",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosaws.asg.probes",
"func": "desired_equals_healthy",
"arguments": {
"asg_names": []
}
}
}
YAML
name: desired-equals-healthy
provider:
arguments:
asg_names: []
func: desired_equals_healthy
module: chaosaws.asg.probes
type: python
type: probe
Arguments
Name | Type | Default | Required |
---|---|---|---|
asg_names | list | Yes |
Signature
def desired_equals_healthy(asg_names: List[str],
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> bool:
pass