AmazonEKSServicePolicy - AWS Managed Policy

AmazonEKSServicePolicy

Description: This policy allows Amazon Elastic Container Service for Kubernetes to create and manage the necessary resources to operate EKS Clusters.

AmazonEKSServicePolicy is an AWS managed policy.

Using this policy

You can attach AmazonEKSServicePolicy to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: May 27, 2018, 21:08 UTC

  • Edited time: October 14, 2024, 21:12 UTC

  • ARN: arn:aws:iam::aws:policy/AmazonEKSServicePolicy

Policy version

Policy version: v7 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:CreateNetworkInterface", "ec2:CreateNetworkInterfacePermission", "ec2:DeleteNetworkInterface", "ec2:DescribeInstances", "ec2:DescribeNetworkInterfaces", "ec2:DetachNetworkInterface", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "ec2:ModifyNetworkInterfaceAttribute", "iam:ListAttachedRolePolicies", "eks:UpdateClusterVersion", "ec2:GetSecurityGroupsForVpc" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags", "ec2:DeleteTags" ], "Resource" : [ "arn:aws:ec2:*:*:vpc/*", "arn:aws:ec2:*:*:subnet/*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:network-interface/*" ], "Condition" : { "StringLike" : { "aws:RequestTag/Name" : "eks-cluster-*" } } }, { "Effect" : "Allow", "Action" : "route53:AssociateVPCWithHostedZone", "Resource" : "*" }, { "Effect" : "Allow", "Action" : "logs:CreateLogGroup", "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "logs:CreateLogStream", "logs:DescribeLogStreams" ], "Resource" : "arn:aws:logs:*:*:log-group:/aws/eks/*:*" }, { "Effect" : "Allow", "Action" : "logs:PutLogEvents", "Resource" : "arn:aws:logs:*:*:log-group:/aws/eks/*:*:*" }, { "Effect" : "Allow", "Action" : "iam:CreateServiceLinkedRole", "Resource" : "arn:aws:iam::*:role/aws-service-role/eks.amazonaws.com/AWSServiceRoleForAmazonEKS", "Condition" : { "StringLike" : { "iam:AWSServiceName" : "eks.amazonaws.com" } } } ] }

Learn more