aws.elbv2.wait_targets_healthy ​
Wait until every target in an ELBv2 target group reports healthy using a CloudConnection UUID.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-aws |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | CloudConnection UUID for the target AWS account. |
workflow_run_id | string | No | — | Engine DAG run ID stamped onto child steps. |
region | string | No | — | AWS region override. |
target_group_arn | string | Yes | — | Target group ARN to wait on. |
targets | list | No | — | Optional subset of targets to check; omit to check all registered targets. |
timeout_seconds | integer | No | — | Maximum time to wait for all targets healthy. |
poll_interval_seconds | integer | No | — | Delay between describe attempts. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | CloudConnection UUID echoed from input. |
region | string | No | — | AWS region used. |
target_group_arn | string | No | — | Target group ARN. |
healthy | boolean | No | — | True when every observed target is healthy. |
total_targets | integer | No | — | Number of target health descriptions observed. |
healthy_targets | integer | No | — | Number of targets reporting the healthy state. |
states | json | No | — | Latest per-target health state codes. |
waited_seconds | integer | No | — | Approximate seconds spent waiting. |
target_health_descriptions | json | No | — | Sanitized final provider target health descriptions. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Failed DAG layer if engine supplies one. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | poll | — |
waiting | No | No | — | — | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | poll | waiting | — |
waiting | poll | waiting | — |
waiting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "aws.elbv2.wait_targets_healthy",
"initial_data": {
"connection_uuid": "value",
"target_group_arn": "value"
}
}