Skip to content

DescribeAccessEntry

Source: src/AWS/EKS/DescribeAccessEntry.ts

Runtime binding for eks:DescribeAccessEntry.

Reads one access entry — the Kubernetes username, groups, and type mapped to an IAM principal. The cluster clusterName is injected from the bound Cluster and eks:DescribeAccessEntry is granted on the cluster’s sub-resource ARNs. Provide the implementation with Effect.provide(AWS.EKS.DescribeAccessEntryHttp).

// init
const describeAccessEntry = yield* AWS.EKS.DescribeAccessEntry(cluster);
// runtime
const { accessEntry } = yield* describeAccessEntry({ principalArn });