AWS
tag_resource
Tags the provided resource(s) with provided tags
Checks to make sure desired and running tasks counts are equal
Below are the details and signature of the activity Python module.
Type | probe |
Module | chaosaws.ecs.probes |
Name | are_all_desired_tasks_running |
Return | boolean |
Usage
JSON
{
"name": "are-all-desired-tasks-running",
"type": "probe",
"provider": {
"type": "python",
"module": "chaosaws.ecs.probes",
"func": "are_all_desired_tasks_running",
"arguments": {
"cluster": "",
"service": ""
}
}
}
YAML
name: are-all-desired-tasks-running
provider:
arguments:
cluster: ""
service: ""
func: are_all_desired_tasks_running
module: chaosaws.ecs.probes
type: python
type: probe
Arguments
Name | Type | Default | Required |
---|---|---|---|
cluster | string | Yes | |
service | string | Yes |
Signature
def are_all_desired_tasks_running(
cluster: str,
service: str,
configuration: Dict[str, Dict[str, str]] = None,
secrets: Dict[str, Dict[str, str]] = None) -> bool:
pass