Skip to main content
IAM Policy Map

AmazonElasticFileSystemReadOnlyAccess

ReaderAWS managedActiveReviewedShow on mapCompare

Summary

Provides read only access to Amazon EFS via the AWS Management Console. The Amazon EFS User Guide says principals can describe EFS attributes and view related CloudWatch, EC2 and AWS KMS information in the console.

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

Identity

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

Control-plane actions (21)

By access level: 12 List, 9 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 1601 Read; 0 restricted, 0 conditionalcloudwatch:DescribeAlarmsForMetric
EC27 of 8347 List; 0 restricted, 0 conditionalec2:DescribeAvailabilityZones, ec2:DescribeNetworkInterfaceAttribute, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcAttribute, ec2:DescribeVpcs
EFS12 of 384 List, 8 Read; 0 restricted, 0 conditionalelasticfilesystem:DescribeAccessPoints, elasticfilesystem:DescribeAccountPreferences, elasticfilesystem:DescribeBackupPolicy, elasticfilesystem:DescribeFileSystemPolicy, elasticfilesystem:DescribeFileSystems, elasticfilesystem:DescribeLifecycleConfiguration, elasticfilesystem:DescribeMountTargetSecurityGroups, elasticfilesystem:DescribeMountTargets, elasticfilesystem:DescribeReplicationConfigurations, elasticfilesystem:DescribeTags, elasticfilesystem:ListTagsForResource, elasticfilesystem:ReplicationRead
KMS1 of 581 List; 0 restricted, 0 conditionalkms:ListAliases
CloudWatch: 1 actions
  • cloudwatch:DescribeAlarmsForMetric (Read)
EC2: 7 actions
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeNetworkInterfaceAttribute (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcAttribute (List)
  • ec2:DescribeVpcs (List)
EFS: 12 actions
  • 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:ReplicationRead (Read)
KMS: 1 actions
  • 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: all-resources.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants only List and Read actions.

Guidance

Practical scope

One statement on Resource "*" allows elasticfilesystem Describe actions (DescribeAccountPreferences, DescribeBackupPolicy, DescribeFileSystems, DescribeFileSystemPolicy, DescribeLifecycleConfiguration, DescribeMountTargets, DescribeMountTargetSecurityGroups, DescribeTags, DescribeAccessPoints, DescribeReplicationConfigurations), elasticfilesystem:ListTagsForResource and elasticfilesystem:ReplicationRead, plus cloudwatch:DescribeAlarmsForMetric, cloudwatch:GetMetricData, EC2 describe actions for availability zones, network interfaces, security groups, subnets and VPCs, and kms:ListAliases.

Use cases

  • Let users view Amazon EFS file systems, mount targets and access points, and the related metrics and network details, without changing them.

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 grants no write actions, but it applies to all resources and also reads CloudWatch metrics and alarms, EC2 network details and AWS KMS key aliases.
  • 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 read only access to Amazon EFS in the console is intended.

Same service

Same domain

Frequently asked questions

When should I attach AmazonElasticFileSystemReadOnlyAccess?
The Amazon EFS User Guide says you can attach it to your IAM identities, and that it grants read only access to Amazon EFS through the console. Attach it where viewing EFS resources is the intended scope.
What does AmazonElasticFileSystemReadOnlyAccess grant?
It allows elasticfilesystem Describe actions, elasticfilesystem:ListTagsForResource and elasticfilesystem:ReplicationRead, CloudWatch metric and alarm reads, EC2 describe actions and kms:ListAliases on all resources.
What are the security risks of AmazonElasticFileSystemReadOnlyAccess?
The policy grants no write actions, but it applies to all resources and covers CloudWatch, EC2 and AWS KMS reads as well as Amazon EFS. 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": "ElasticFileSystemReadOnlyAccess",
      "Effect": "Allow",
      "Action": [
        "cloudwatch:DescribeAlarmsForMetric",
        "cloudwatch:GetMetricData",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeNetworkInterfaceAttribute",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcAttribute",
        "ec2:DescribeVpcs",
        "elasticfilesystem:DescribeAccountPreferences",
        "elasticfilesystem:DescribeBackupPolicy",
        "elasticfilesystem:DescribeFileSystems",
        "elasticfilesystem:DescribeFileSystemPolicy",
        "elasticfilesystem:DescribeLifecycleConfiguration",
        "elasticfilesystem:DescribeMountTargets",
        "elasticfilesystem:DescribeMountTargetSecurityGroups",
        "elasticfilesystem:DescribeTags",
        "elasticfilesystem:DescribeAccessPoints",
        "elasticfilesystem:DescribeReplicationConfigurations",
        "elasticfilesystem:ListTagsForResource",
        "elasticfilesystem:ReplicationRead",
        "kms:ListAliases"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v9, 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/AmazonElasticFileSystemReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonElasticFileSystemReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonElasticFileSystemReadOnlyAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources