Skip to content

StartInsightsRefresh

Source: src/AWS/EKS/StartInsightsRefresh.ts

Runtime binding for eks:StartInsightsRefresh.

Kicks off an on-demand refresh of the bound cluster’s upgrade/configuration insights instead of waiting for the periodic automatic evaluation. Track progress with DescribeInsightsRefresh. The cluster clusterName is injected from the bound Cluster and eks:StartInsightsRefresh is granted on the cluster’s ARN. Provide the implementation with Effect.provide(AWS.EKS.StartInsightsRefreshHttp).

// init
const startInsightsRefresh = yield* AWS.EKS.StartInsightsRefresh(cluster);
// runtime
const { status } = yield* startInsightsRefresh();