Skip to main content
IAM Policy Map

AmazonElasticFileSystemFullAccess

AdminAWS managedActiveReviewedShow on mapCompare

Summary

Provides full access to Amazon EFS via the AWS Management Console. The Amazon EFS User Guide says it grants administrative permissions for full access to Amazon EFS and access to related AWS services.

Permissions imported from the AWS Managed Policy Reference Guide; other sections reviewed against the listed AWS sources.

Identity

ARN
arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess
Default version
v10
Created
Last edited
Services
cloudwatch, ec2, elasticfilesystem, iam, kms

Control-plane actions (50)

By access level: 12 List, 2 Permissions management, 10 Read, 4 Tagging, 22 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 1601 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarmsForMetric
EC210 of 8347 List, 3 Write; 0 restricted, 0 conditionalec2:CreateNetworkInterface, ec2:DeleteNetworkInterface, ec2:DescribeAvailabilityZones, ec2:DescribeNetworkInterfaceAttribute, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcAttribute, ec2:DescribeVpcs, ec2:ModifyNetworkInterfaceAttribute
EFS35 of 384 List, 2 Permissions management, 8 Read, 4 Tagging, 17 Write; 0 restricted, 0 conditionalelasticfilesystem:Backup, elasticfilesystem:CreateAccessPoint, elasticfilesystem:CreateFileSystem, elasticfilesystem:CreateMountTarget, elasticfilesystem:CreateReplicationConfiguration, elasticfilesystem:CreateTags, elasticfilesystem:DeleteAccessPoint, elasticfilesystem:DeleteFileSystem, elasticfilesystem:DeleteFileSystemPolicy, elasticfilesystem:DeleteMountTarget, elasticfilesystem:DeleteReplicationConfiguration, elasticfilesystem:DeleteTags and 23 more
IAM2 of 1902 Write; 2 restricted, 2 conditionaliam:CreateServiceLinkedRole, iam:PassRole
KMS2 of 581 List, 1 Read; 0 restricted, 0 conditionalkms:DescribeKey, kms:ListAliases
CloudWatch: 1 actions
  • cloudwatch:DescribeAlarmsForMetric (Read)
EC2: 10 actions
  • ec2:CreateNetworkInterface (Write)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeNetworkInterfaceAttribute (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcAttribute (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
EFS: 35 actions
  • elasticfilesystem:Backup (Write)
  • elasticfilesystem:CreateAccessPoint (Write)
  • elasticfilesystem:CreateFileSystem (Write)
  • elasticfilesystem:CreateMountTarget (Write)
  • elasticfilesystem:CreateReplicationConfiguration (Write)
  • elasticfilesystem:CreateTags (Tagging)
  • elasticfilesystem:DeleteAccessPoint (Write)
  • elasticfilesystem:DeleteFileSystem (Write)
  • elasticfilesystem:DeleteFileSystemPolicy (Permissions management)
  • elasticfilesystem:DeleteMountTarget (Write)
  • elasticfilesystem:DeleteReplicationConfiguration (Write)
  • elasticfilesystem:DeleteTags (Tagging)
  • elasticfilesystem:DescribeAccessPoints (List)
  • elasticfilesystem:DescribeAccountPreferences (List)
  • elasticfilesystem:DescribeBackupPolicy (Read)
  • elasticfilesystem:DescribeFileSystemPolicy (Read)
  • elasticfilesystem:DescribeFileSystems (List)
  • elasticfilesystem:DescribeLifecycleConfiguration (Read)
  • elasticfilesystem:DescribeMountTargetSecurityGroups (Read)
  • elasticfilesystem:DescribeMountTargets (Read)
  • elasticfilesystem:DescribeReplicationConfigurations (List)
  • elasticfilesystem:DescribeTags (Read)
  • elasticfilesystem:ListTagsForResource (Read)
  • elasticfilesystem:ModifyMountTargetSecurityGroups (Write)
  • elasticfilesystem:PutAccountPreferences (Write)
  • elasticfilesystem:PutBackupPolicy (Write)
  • elasticfilesystem:PutFileSystemPolicy (Permissions management)
  • elasticfilesystem:PutLifecycleConfiguration (Write)
  • elasticfilesystem:ReplicationRead (Read)
  • elasticfilesystem:ReplicationWrite (Write)
  • elasticfilesystem:Restore (Write)
  • elasticfilesystem:TagResource (Tagging)
  • elasticfilesystem:UntagResource (Tagging)
  • elasticfilesystem:UpdateFileSystem (Write)
  • elasticfilesystem:UpdateFileSystemProtection (Write)
IAM: 2 actions
  • iam:CreateServiceLinkedRole (Write)
  • iam:PassRole (Write)
KMS: 2 actions
  • kms:DescribeKey (Read)
  • kms:ListAliases (List)

Data-plane actions (1)

By access level: 1 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Read; 0 restricted, 0 conditionalcloudwatch:GetMetricData
CloudWatch: 1 actions
  • cloudwatch:GetMetricData (Read)

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 at least 80% of the write and permissions-management actions of: elasticfilesystem (19 of 21).
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).
  • 3 granted write or permissions-management actions have no data-plane classification from AWS, so the data-plane rule cannot assess them.

Guidance

Practical scope

The ElasticFileSystemFullAccess statement on Resource "*" allows elasticfilesystem actions to create, update and delete file systems, mount targets, access points, tags and replication configurations, to put or delete file system policies, to put backup policies, lifecycle configurations and account preferences, and elasticfilesystem:Backup, elasticfilesystem:Restore, elasticfilesystem:ReplicationRead and elasticfilesystem:ReplicationWrite. It also allows CloudWatch metric and alarm reads, EC2 network interface and describe actions (including ec2:CreateNetworkInterface, ec2:DeleteNetworkInterface and ec2:ModifyNetworkInterfaceAttribute), kms:DescribeKey and kms:ListAliases. CreateServiceLinkedRoleForEFS allows iam:CreateServiceLinkedRole for elasticfilesystem.amazonaws.com, and IAMPassRoleAccessForEFS allows iam:PassRole on arn:aws:iam::*:role/* when iam:PassedToService matches elasticfilesystem.amazonaws.com.

Use cases

  • Give users, groups or roles full access to Amazon EFS through the console, including the EC2 network and monitoring access the console needs.

Best practices

  • AWS managed policies don't grant least privilege permissions. The IAM User Guide suggests using IAM Access Analyzer to see which permissions principals actually use, then writing a custom policy or generating one with only the required permissions.

Security considerations

  • The policy allows elasticfilesystem:DeleteFileSystem, elasticfilesystem:DeleteMountTarget, elasticfilesystem:PutFileSystemPolicy and elasticfilesystem:DeleteFileSystemPolicy on Resource "*", so it can change or remove any EFS file system in the account.
  • iam:PassRole is allowed on any role (arn:aws:iam::*:role/*) when it is passed to elasticfilesystem.amazonaws.com. The IAM User Guide warns that a user should not be able to pass a role that has more permissions than you want the user to have.
  • You cannot change the permissions in an AWS managed policy. If AWS updates the policy, the update affects every user, group and role it is attached to.

Assignment guidance

You can attach this policy to your users, groups and roles. The reference page also links to guidance on creating a permission set using AWS managed policies in IAM Identity Center. The Amazon EFS User Guide says you can attach it to your IAM identities. It fits where full access to Amazon EFS is intended.

Same service

Same domain

Frequently asked questions

When should I attach AmazonElasticFileSystemFullAccess?
The Amazon EFS User Guide says you can attach it to your IAM identities, and that it grants administrative permissions with full access to Amazon EFS and related AWS services through the console. Attach it where that scope is intended.
What does AmazonElasticFileSystemFullAccess grant?
It allows Amazon EFS management actions on all resources, including AWS Backup backup and restore, CloudWatch reads, EC2 network interface actions, kms:DescribeKey and kms:ListAliases, service-linked role creation for Amazon EFS, and iam:PassRole to elasticfilesystem.amazonaws.com.
What are the security risks of AmazonElasticFileSystemFullAccess?
It allows deleting file systems and mount targets and changing file system policies on all resources, and passing any role to Amazon EFS. The IAM User Guide warns against letting a user pass a role that has more permissions than you want the user to have. AWS managed policies don't grant least privilege permissions, and you must consider the security risk of granting principals more permissions than they need. AWS updates to the policy affect every identity it is attached to.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "ElasticFileSystemFullAccess",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:DescribeAlarmsForMetric",
        "cloudwatch:GetMetricData",
        "ec2:CreateNetworkInterface",
        "ec2:DeleteNetworkInterface",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeNetworkInterfaceAttribute",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcAttribute",
        "ec2:DescribeVpcs",
        "ec2:ModifyNetworkInterfaceAttribute",
        "elasticfilesystem:CreateFileSystem",
        "elasticfilesystem:CreateMountTarget",
        "elasticfilesystem:CreateTags",
        "elasticfilesystem:CreateAccessPoint",
        "elasticfilesystem:CreateReplicationConfiguration",
        "elasticfilesystem:DeleteFileSystem",
        "elasticfilesystem:DeleteMountTarget",
        "elasticfilesystem:DeleteTags",
        "elasticfilesystem:DeleteAccessPoint",
        "elasticfilesystem:DeleteFileSystemPolicy",
        "elasticfilesystem:DeleteReplicationConfiguration",
        "elasticfilesystem:DescribeAccountPreferences",
        "elasticfilesystem:DescribeBackupPolicy",
        "elasticfilesystem:DescribeFileSystems",
        "elasticfilesystem:DescribeFileSystemPolicy",
        "elasticfilesystem:DescribeLifecycleConfiguration",
        "elasticfilesystem:DescribeMountTargets",
        "elasticfilesystem:DescribeMountTargetSecurityGroups",
        "elasticfilesystem:DescribeTags",
        "elasticfilesystem:DescribeAccessPoints",
        "elasticfilesystem:DescribeReplicationConfigurations",
        "elasticfilesystem:ModifyMountTargetSecurityGroups",
        "elasticfilesystem:PutAccountPreferences",
        "elasticfilesystem:PutBackupPolicy",
        "elasticfilesystem:PutLifecycleConfiguration",
        "elasticfilesystem:PutFileSystemPolicy",
        "elasticfilesystem:UpdateFileSystem",
        "elasticfilesystem:UpdateFileSystemProtection",
        "elasticfilesystem:TagResource",
        "elasticfilesystem:UntagResource",
        "elasticfilesystem:ListTagsForResource",
        "elasticfilesystem:Backup",
        "elasticfilesystem:Restore",
        "elasticfilesystem:ReplicationRead",
        "elasticfilesystem:ReplicationWrite",
        "kms:DescribeKey",
        "kms:ListAliases"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CreateServiceLinkedRoleForEFS",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": [
            "elasticfilesystem.amazonaws.com"
          ]
        }
      }
    },
    {
      "Sid": "IAMPassRoleAccessForEFS",
      "Effect": "Allow",
      "Action": "iam:PassRole",
      "Resource": "arn:aws:iam::*:role/*",
      "Condition": {
        "StringLike": {
          "iam:PassedToService": "elasticfilesystem.amazonaws.com"
        }
      }
    }
  ]
}

Version history

Current version v10, edited by AWS on 2024-11-07. 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/AmazonElasticFileSystemFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess

Terraform

resource "aws_iam_role_policy_attachment" "amazonelasticfilesystemfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonElasticFileSystemFullAccess"),
);

Sources