Skip to content

ListFargateProfiles

Source: src/AWS/EKS/ListFargateProfiles.ts

Runtime binding for eks:ListFargateProfiles.

Enumerates the Fargate profile names configured on the bound cluster. The cluster clusterName is injected from the bound Cluster and eks:ListFargateProfiles is granted on the cluster’s ARN. Provide the implementation with Effect.provide(AWS.EKS.ListFargateProfilesHttp).

// init
const listFargateProfiles = yield* AWS.EKS.ListFargateProfiles(cluster);
// runtime
const { fargateProfileNames } = yield* listFargateProfiles();