aws.ecr.wait_image_available ​
Wait until an ECR image tag is present (optionally newer than a timestamp) 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. |
repository_name | string | Yes | — | ECR repository name, e.g. ltinteg-platform-base. |
image_tag | string | Yes | — | Image tag to wait for, e.g. latest or v0.4.48. |
pushed_after | string | No | — | ISO timestamp; require imagePushedAt strictly after this (for mutable tags). |
timeout_seconds | integer | No | — | Maximum time to wait for the image. |
poll_interval_seconds | integer | No | — | Delay between DescribeImages attempts. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | CloudConnection UUID echoed from input. |
region | string | No | — | AWS region used. |
repository_name | string | No | — | ECR repository name. |
image_tag | string | No | — | Image tag waited on. |
available | boolean | No | — | True when the tag is present (and newer than pushed_after when given). |
image_digest | string | No | — | Digest of the resolved image. |
image_pushed_at | string | No | — | ISO push time of the resolved image. |
waited_seconds | integer | No | — | Approximate seconds spent waiting. |
image | json | No | — | Sanitized final provider imageDetail object. |
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.ecr.wait_image_available",
"initial_data": {
"connection_uuid": "value",
"repository_name": "value",
"image_tag": "value"
}
}