Skip to content
Proud to collaborate with Microsoft for Startups

aws.ecr.wait_image_available ​

Wait until an ECR image tag is present (optionally newer than a timestamp) using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—CloudConnection UUID for the target AWS account.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS region override.
repository_namestringYes—ECR repository name, e.g. ltinteg-platform-base.
image_tagstringYes—Image tag to wait for, e.g. latest or v0.4.48.
pushed_afterstringNo—ISO timestamp; require imagePushedAt strictly after this (for mutable tags).
timeout_secondsintegerNo—Maximum time to wait for the image.
poll_interval_secondsintegerNo—Delay between DescribeImages attempts.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
repository_namestringNo—ECR repository name.
image_tagstringNo—Image tag waited on.
availablebooleanNo—True when the tag is present (and newer than pushed_after when given).
image_digeststringNo—Digest of the resolved image.
image_pushed_atstringNo—ISO push time of the resolved image.
waited_secondsintegerNo—Approximate seconds spent waiting.
imagejsonNo—Sanitized final provider imageDetail object.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—poll—
waitingNoNo———
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpollwaiting—
waitingpollwaiting—
waitingcompletecompleted—
* (any state)failfailed—

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"
  }
}