Skip to content

DescribeUpdate

Source: src/AWS/EKS/DescribeUpdate.ts

Runtime binding for eks:DescribeUpdate.

Reads one update’s status and parameters — poll it to track an in-flight version upgrade or config change. The cluster name is injected from the bound Cluster and eks:DescribeUpdate is granted on the cluster’s ARN and sub-resource ARNs. Provide the implementation with Effect.provide(AWS.EKS.DescribeUpdateHttp).

// init
const describeUpdate = yield* AWS.EKS.DescribeUpdate(cluster);
// runtime
const { update } = yield* describeUpdate({ updateId });
const done = update?.status === "Successful";