Skip to content
Proud to collaborate with Microsoft for Startups

aws.ecs.create_cluster ​

Create an ECS cluster 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.
cluster_namestringYes—Name for the new ECS cluster.
capacity_providerslistNo—Capacity providers to associate with the cluster.
default_capacity_provider_strategylistNo—Default capacity provider strategy for the cluster.
tagsjsonNo—Tags to apply to the cluster.
settingslistNo—Cluster settings (e.g. containerInsights).

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
cluster_arnstringNo—ARN of the created cluster.
cluster_namestringNo—Name of the created cluster.
statusstringNo—Cluster status.
clusterjsonNo—Sanitized provider cluster 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.create_cluster",
  "initial_data": {
    "connection_uuid": "value",
    "cluster_name": "value"
  }
}