eks:CreateCluster

Write

eks:CreateCluster is a Write access-level action in the eks service. Grants permission to create an Amazon EKS cluster

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by a key that is present in the request the user makes to the EKS service

aws:TagKeys ArrayOfString

Filters access by the list of all the tag key names present in the request the user makes to the EKS service

eks:authenticationMode String

Filters access by the authenticationMode present in the create / update cluster request

eks:blockStorageEnabled Bool

Filters access by the block storage enabled parameter in the create / update cluster request

eks:bootstrapClusterCreatorAdminPermissions Bool

Filters access by the bootstrapClusterCreatorAdminPermissions present in the create cluster request

eks:bootstrapSelfManagedAddons Bool

Filters access by the bootstrapSelfManagedAddons present in the create cluster request

eks:computeConfigEnabled Bool

Filters access by the compute config enabled parameter in the create / update cluster request

eks:controlPlaneEgressMode String

Filters access by the control plane egress mode specified in the create / update cluster request

eks:controlPlaneScalingTier String

Filters access by the control plane scaling tier in the create / update cluster request

eks:deletionProtection Bool

Filters access by the deletion protection setting in the create / update cluster request

eks:elasticLoadBalancingEnabled Bool

Filters access by the elastic load balancing enabled parameter in the create / update cluster request

eks:encryptionConfigProviderKeyArns ArrayOfARN

Filters access by the KMS key ARNs in the create cluster / Associate Encryption Config request

eks:endpointPrivateAccess Bool

Filters access by the endpoint private access setting in the create / update cluster request

eks:endpointPublicAccess Bool

Filters access by the endpoint public access setting in the create / update cluster request

eks:kubeApiServerConfig Bool

Filters access by whether the kube-api-server configuration is present in the create / update cluster request

eks:kubeControllerManagerConfig Bool

Filters access by whether the kube-controller-manager configuration is present in the create / update cluster request

eks:kubeSchedulerConfig Bool

Filters access by whether the kube-scheduler configuration is present in the create / update cluster request

eks:kubernetesVersion String

Filters access by the Kubernetes version in the create cluster/ update cluster version request

eks:loggingType/${type} Bool

Filters access by the cluster logging enabled and type parameter in the create / update cluster request

eks:supportType String

Filters access by the supportType present in the create / update cluster request

eks:zonalShiftEnabled Bool

Filters access by the zonal shift enabled setting in the create / update cluster request

Example IAM policy

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

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

Related actions in eks

View all eks actions →