AWS

Download 575
Last updated Nov 20, 2026

aws-ecs-clusters

Retrieves a list of AWS ECS clusters.

Syntax

aws-ecs-clusters [profile=PROFILE] [region=REGION]

Options

profile=PROFILE
Optional. The identifier of AWS connect profile
region=REGION
Optional. AWS region

Output Fields

FieldTypeNameDescription
aws_profileStringConnect profileThe identifier of AWS connect profile
regionStringRegione.g. ap-northeast-2
cluster_nameStringCluster namee.g. prod-cluster
cluster_arnStringCluster ARN
statusStringStatuse.g. ACTIVE, PROVISIONING, INACTIVE
running_tasks_countIntegerRunning tasks count
pending_tasks_countIntegerPending tasks count
active_services_countIntegerActive services count
registered_container_instances_countIntegerRegistered container instances countAlways 0 for Fargate only clusters
capacity_providersListCapacity providerse.g. FARGATE, FARGATE_SPOT
default_capacity_provider_strategyListDefault capacity provider strategyElements with capacity_provider, weight, and base properties
settingsListSettingsElements with name and value properties
statisticsListStatisticsElements with name and value properties
tagsListTagsElements with key and value properties