Skip to content
Proud to collaborate with Microsoft for Startups

aws.ecs.put_cluster_capacity_providers ​

Set the capacity providers and default strategy on an ECS cluster using a CloudConnection.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—AWS CloudConnection UUID.
regionstringNo—AWS region override.
clusterstringYes—Name or ARN of the cluster to modify.
capacity_providerslistYes—Capacity providers to associate (empty list disassociates all).
default_capacity_provider_strategylistYes—Default capacity provider strategy (empty list clears it).

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
cluster_arnstringNo—ARN of the modified 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.put_cluster_capacity_providers",
  "initial_data": {
    "connection_uuid": "value",
    "cluster": "value",
    "capacity_providers": "value",
    "default_capacity_provider_strategy": "value"
  }
}