AmazonEKSBlockStoragePolicy
Description: Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's block storage resources.
AmazonEKSBlockStoragePolicy
is an AWS managed policy.
Using this policy
You can attach AmazonEKSBlockStoragePolicy
to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: October 30, 2024, 20:18 UTC
-
Edited time: October 30, 2024, 20:18 UTC
-
ARN:
arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy
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:AttachVolume", "ec2:DetachVolume", "ec2:ModifyVolume", "ec2:EnableFastSnapshotRestores" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceTag/eks:eks-cluster-name" : "${aws:PrincipalTag/eks:eks-cluster-name}" } } }, { "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : "*", "Condition" : { "StringEquals" : { "ec2:CreateAction" : [ "CreateVolume", "CreateSnapshot" ] } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateVolume" ], "Resource" : "arn:aws:ec2:*:*:volume/*", "Condition" : { "StringEquals" : { "aws:RequestTag/eks:eks-cluster-name" : "${aws:PrincipalTag/eks:eks-cluster-name}" }, "ForAllValues:StringLike" : { "aws:TagKeys" : [ "eks:eks-cluster-name", "CSIVolumeName", "ebs.csi.eks.amazonaws.com/cluster", "kubernetes.io/cluster/*", "kubernetes.io/created-for/*", "Name", "KubernetesCluster" ] } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateVolume" ], "Resource" : "arn:aws:ec2:*:*:snapshot/*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : "arn:aws:ec2:*:*:volume/*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : "arn:aws:ec2:*:*:snapshot/*", "Condition" : { "StringEquals" : { "aws:RequestTag/eks:eks-cluster-name" : "${aws:PrincipalTag/eks:eks-cluster-name}" }, "ForAllValues:StringLike" : { "aws:TagKeys" : [ "eks:eks-cluster-name", "CSIVolumeSnapshotName", "ebs.csi.eks.amazonaws.com/cluster", "kubernetes.io/cluster/*", "Name" ] } } } ] }