ListContainerInstances
Source:
src/AWS/ECS/ListContainerInstances.ts
Runtime binding for ecs:ListContainerInstances.
Bind this operation to a Cluster inside a function runtime to get a
callable that lists container-instance ARNs registered to the bound
cluster (EC2/EXTERNAL launch types). The cluster ARN is injected
automatically and the host is granted ecs:ListContainerInstances on the
cluster.
Container Instances
Section titled “Container Instances”const listContainerInstances = yield* AWS.ECS.ListContainerInstances(cluster);
const response = yield* listContainerInstances({ status: "ACTIVE" });const instanceArns = response.containerInstanceArns ?? [];