Skip to content

ListPodIdentityAssociations

Source: src/AWS/EKS/ListPodIdentityAssociations.ts

Runtime binding for eks:ListPodIdentityAssociations.

Enumerates the EKS Pod Identity associations on the bound cluster, optionally filtered by namespace or service account. The cluster clusterName is injected from the bound Cluster and eks:ListPodIdentityAssociations is granted on the cluster’s ARN. Provide the implementation with Effect.provide(AWS.EKS.ListPodIdentityAssociationsHttp).

// init
const listPodIdentityAssociations =
yield* AWS.EKS.ListPodIdentityAssociations(cluster);
// runtime
const { associations } = yield* listPodIdentityAssociations({
namespace: "default",
});