Skip to content
Proud to collaborate with Microsoft for Startups

aws.ecs.register_task_definition ​

Register an ECS task definition using a CloudConnection-backed AWS session.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—AWS CloudConnection UUID.
regionstringNo—AWS region override.
familystringYes—Task definition family.
container_definitionslistYes—Full ECS container definitions payload.
network_modestringNo—ECS network mode (default: awsvpc).
requires_compatibilitieslistNo—Launch types the task definition supports (e.g. ["FARGATE"]).
cpustringNo—CPU units for the task.
memorystringNo—Memory (MiB) for the task.
execution_role_arnstringNo—ECS task execution role ARN.
task_role_arnstringNo—ECS task role ARN.
tagsjsonNo—Tags to apply, either a {key: value} map or native key/value objects.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
task_definition_arnstringNo—ARN of the registered task definition.
familystringNo—Task definition family.
revisionintegerNo—Registered revision number.
statusstringNo—Task definition status.
task_definitionjsonNo—Sanitized provider task definition 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—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.ecs.register_task_definition",
  "initial_data": {
    "connection_uuid": "value",
    "family": "value",
    "container_definitions": "value"
  }
}