eks:DeregisterCluster

Write

eks:DeregisterCluster is a Write access-level action in the eks service. Grants permission to deregister an External cluster

Resource types

ARNs that eks:DeregisterCluster 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:DeregisterCluster.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair

Example IAM policy

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

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

Related actions in eks

View all eks actions →