AmazonEKSNetworkingPolicy - AWS Managed Policy

AmazonEKSNetworkingPolicy

Description: Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's networking resources.

AmazonEKSNetworkingPolicy is an AWS managed policy.

Using this policy

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

Policy details

  • Type: AWS managed policy

  • Creation time: October 28, 2024, 22:34 UTC

  • Edited time: October 28, 2024, 22:34 UTC

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

Policy version

Policy version: v1 (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", "Resource" : "*", "Condition" : { "StringEquals" : { "aws:RequestTag/eks:eks-cluster-name" : "${aws:PrincipalTag/eks:eks-cluster-name}" }, "StringLike" : { "aws:RequestTag/eks:kubernetes-cni-node-name" : "*" }, "ForAllValues:StringEquals" : { "aws:TagKeys" : [ "eks:eks-cluster-name", "eks:kubernetes-cni-node-name" ] } } }, { "Effect" : "Allow", "Action" : "ec2:CreateNetworkInterface", "Resource" : [ "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:subnet/*" ] }, { "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : "*", "Condition" : { "StringEquals" : { "ec2:CreateAction" : "CreateNetworkInterface" } } }, { "Effect" : "Allow", "Action" : [ "ec2:AttachNetworkInterface", "ec2:DetachNetworkInterface", "ec2:UnassignPrivateIpAddresses", "ec2:UnassignIpv6Addresses", "ec2:AssignPrivateIpAddresses", "ec2:AssignIpv6Addresses" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceTag/eks:eks-cluster-name" : "${aws:PrincipalTag/eks:eks-cluster-name}" } } } ] }

Learn more