eks:ListNodegroups

List

eks:ListNodegroups is a List access-level action in the eks service. Grants permission to list the Amazon EKS nodegroups in your AWS account (in the specified or default region) attached to given cluster

Resource types

ARNs that eks:ListNodegroups can be scoped to in an IAM policy.

arn:${Partition}:eks:${Region}:${Account}:cluster/${ClusterName}
cluster

Condition keys

Keys you can use in the Condition block of a policy that grants eks:ListNodegroups.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

A minimal policy that allows eks:ListNodegroups. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowEksListNodegroups",
      "Effect": "Allow",
      "Action": "eks:ListNodegroups",
      "Resource": "*"
    }
  ]
}

Related actions in eks

View all eks actions →