Skip to content

ListClusters

Source: src/AWS/EMR/ListClusters.ts

Runtime binding for elasticmapreduce:ListClusters — lists the account’s EMR clusters (optionally filtered by state or creation window) — the building block of cluster-inventory automation.

const listClusters = yield* AWS.EMR.ListClusters();
const { Clusters } = yield* listClusters({
ClusterStates: ["RUNNING", "WAITING"],
});