We are looking to inspect the ASG EC2 CloudWatch metrics such as CPU and Memory, since it includes an aggregate of all the ASG instances.
Given that we know the ECS cluster, or the ECS service name. Which API calls would be needed to figure out the name of the Auto Scaling Group and its CloudWatch metrics?
ecs-agent
located on each instance.aws:cloudformation:stack-name
wich is valued withEC2ContainerService-<my-cluster-name>
. Did I miss a point ?