Skip to content

ListNodegroups

Source: src/AWS/EKS/ListNodegroups.ts

Runtime binding for eks:ListNodegroups.

Enumerates the managed node group names attached to the bound cluster. The cluster clusterName is injected from the bound Cluster and eks:ListNodegroups is granted on the cluster’s ARN. Provide the implementation with Effect.provide(AWS.EKS.ListNodegroupsHttp).

// init
const listNodegroups = yield* AWS.EKS.ListNodegroups(cluster);
// runtime
const { nodegroups } = yield* listNodegroups();