elasticfilesystem:ListTagsForResource

Read

elasticfilesystem:ListTagsForResource is a Read access-level action in the elasticfilesystem service. Grants permission to view the tags associated with the specified Amazon EFS resource

Resource types

ARNs that elasticfilesystem:ListTagsForResource can be scoped to in an IAM policy.

arn:${Partition}:elasticfilesystem:${Region}:${Account}:access-point/${AccessPointId}
access-point
arn:${Partition}:elasticfilesystem:${Region}:${Account}:file-system/${FileSystemId}
file-system

Condition keys

Keys you can use in the Condition block of a policy that grants elasticfilesystem:ListTagsForResource.

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

A minimal policy that allows elasticfilesystem:ListTagsForResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticfilesystemListTagsForResource",
      "Effect": "Allow",
      "Action": "elasticfilesystem:ListTagsForResource",
      "Resource": "*"
    }
  ]
}

Related actions in elasticfilesystem

View all elasticfilesystem actions →