AmazonEKSBlockStoragePolicy
Summary
Policy attached to the EKS Cluster Role that grants permissions to manage the cluster's block storage resources.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy- Default version
- v1
- Created
- Last edited
- Services
- ec2
Control-plane actions (7)
By access level: 1 Tagging, 6 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| EC2 | 7 of 834 | 1 Tagging, 6 Write; 7 restricted, 5 conditional | ec2:AttachVolume, ec2:CreateSnapshot, ec2:CreateTags, ec2:CreateVolume, ec2:DetachVolume, ec2:EnableFastSnapshotRestores, ec2:ModifyVolume |
EC2: 7 actions
- ec2:AttachVolume (Write)
- ec2:CreateSnapshot (Write)
- ec2:CreateTags (Tagging)
- ec2:CreateVolume (Write)
- ec2:DetachVolume (Write)
- ec2:EnableFastSnapshotRestores (Write)
- ec2:ModifyVolume (Write)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 7 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"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"
]
}
}
}
]
}
Version history
Current version v1, edited by AWS on 2024-10-30. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicyCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicyTerraform
resource "aws_iam_role_policy_attachment" "amazoneksblockstoragepolicy" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonEKSBlockStoragePolicy"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonEKSBlockStoragePolicy"),
);Sources
Pending editorial review. No editorial sources are listed yet.