Skip to content

DescribePodIdentityAssociation

Source: src/AWS/EKS/DescribePodIdentityAssociation.ts

Runtime binding for eks:DescribePodIdentityAssociation.

Reads one EKS Pod Identity association — the IAM role wired to a Kubernetes service account. The cluster clusterName is injected from the bound Cluster and eks:DescribePodIdentityAssociation is granted on the cluster’s sub-resource ARNs. Provide the implementation with Effect.provide(AWS.EKS.DescribePodIdentityAssociationHttp).

// init
const describePodIdentityAssociation =
yield* AWS.EKS.DescribePodIdentityAssociation(cluster);
// runtime
const { association } = yield* describePodIdentityAssociation({
associationId,
});