Skip to content

DescribeNodegroup

Source: src/AWS/EKS/DescribeNodegroup.ts

Runtime binding for eks:DescribeNodegroup.

Reads one managed node group’s full state — scaling config, instance types, AMI release version, health issues. The cluster clusterName is injected from the bound Cluster and eks:DescribeNodegroup is granted on the cluster’s sub-resource ARNs. Provide the implementation with Effect.provide(AWS.EKS.DescribeNodegroupHttp).

// init
const describeNodegroup = yield* AWS.EKS.DescribeNodegroup(cluster);
// runtime
const { nodegroup } = yield* describeNodegroup({ nodegroupName: "general" });
const issues = nodegroup?.health?.issues ?? [];