Skip to content
v2.274.0

IdentityType Enum ​

Enum representing the different identity types that can be used for a Kubernetes service account.

Example ​

ts
declare const cluster: eks.Cluster;

new eks.ServiceAccount(this, 'ServiceAccount', {
  cluster,
  name: 'test-sa',
  namespace: 'default',
  identityType: eks.IdentityType.POD_IDENTITY,
});

Members ​

MemberDescription
IRSAUse the IAM Roles for Service Accounts (IRSA) identity type.
POD_IDENTITYUse the EKS Pod Identities identity type.

Referenced by ​