Skip to content

PodIdentityServiceAccount

Source: src/AWS/EKS/PodIdentityServiceAccount.ts

Creates a Kubernetes service account and binds it to EKS Pod Identity.

const identity = yield* PodIdentityServiceAccount("ApiIdentity", {
cluster: cluster.cluster,
namespace: "default",
managedPolicyArns: ["arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess"],
});