Skip to main content
Amazon ECS (Elastic Container Service) is a fully managed container orchestration service. It allows you to run Docker containers at scale, with integration to EC2 and Fargate. The ECS Handler helps fetch clusters, services, tasks, and container instances.

Example

To create the ECS Handler, pass AWS credentials (access_key, secret_key, and region).
List Clusters:
Fetches all ECS clusters.
List Services:
Lists ECS services running inside a cluster.
List Tasks:
Lists running tasks inside a service.
Describe Cluster:
Fetches detailed information about a cluster.
Describe Service:
Fetches detailed info of a service inside a cluster.
Describe Task:
Fetches details about a specific task.