Skip to content

DescribeClusters

Source: src/AWS/DAX/DescribeClusters.ts

Runtime binding for the DescribeClusters operation (IAM action dax:DescribeClusters).

Lists the account’s DAX clusters (optionally filtered by name) with node status, endpoints and configuration embedded — the building block of cluster-health monitoring and node-reboot automation. Provide the implementation with Effect.provide(AWS.DAX.DescribeClustersHttp).

const describeClusters = yield* DAX.DescribeClusters();
const page = yield* describeClusters({ ClusterNames: [clusterName] });
const available = page.Clusters?.[0]?.Nodes?.filter(
(node) => node.NodeStatus === "available",
);