Skip to content

DescribeInsight

Source: src/AWS/EKS/DescribeInsight.ts

Runtime binding for eks:DescribeInsight.

Reads one insight’s full detail — category, status, recommendation, and the resources it flags. The cluster clusterName is injected from the bound Cluster and eks:DescribeInsight is granted on the cluster’s ARN. Provide the implementation with Effect.provide(AWS.EKS.DescribeInsightHttp).

// init
const describeInsight = yield* AWS.EKS.DescribeInsight(cluster);
// runtime
const { insight } = yield* describeInsight({ id: insightId });