Skip to content

DescribeFargateProfile

Source: src/AWS/EKS/DescribeFargateProfile.ts

Runtime binding for eks:DescribeFargateProfile.

Reads one Fargate profile’s state — pod execution role, selectors, subnets, and status. The cluster clusterName is injected from the bound Cluster and eks:DescribeFargateProfile is granted on the cluster’s sub-resource ARNs. Provide the implementation with Effect.provide(AWS.EKS.DescribeFargateProfileHttp).

// init
const describeFargateProfile = yield* AWS.EKS.DescribeFargateProfile(cluster);
// runtime
const { fargateProfile } = yield* describeFargateProfile({
fargateProfileName: "default",
});