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
| Field | Type | Name | Description |
|---|---|---|---|
| aws_profile | String | Connect profile | The identifier of AWS connect profile |
| region | String | Region | e.g. ap-northeast-2 |
| cluster_name | String | Cluster name | e.g. prod-cluster |
| cluster_arn | String | Cluster ARN | |
| status | String | Status | e.g. ACTIVE, PROVISIONING, INACTIVE |
| running_tasks_count | Integer | Running tasks count | |
| pending_tasks_count | Integer | Pending tasks count | |
| active_services_count | Integer | Active services count | |
| registered_container_instances_count | Integer | Registered container instances count | Always 0 for Fargate only clusters |
| capacity_providers | List | Capacity providers | e.g. FARGATE, FARGATE_SPOT |
| default_capacity_provider_strategy | List | Default capacity provider strategy | Elements with capacity_provider, weight, and base properties |
| settings | List | Settings | Elements with name and value properties |
| statistics | List | Statistics | Elements with name and value properties |
| tags | List | Tags | Elements with key and value properties |