fsx:ListTagsForResource

Read

fsx:ListTagsForResource is a Read access-level action in the fsx service. Grants permission to list tags for an Amazon FSx resource

Resource types

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

arn:${Partition}:fsx:${Region}:${Account}:association/${FileSystemIdOrFileCacheId}/${DataRepositoryAssociationId}
association
arn:${Partition}:fsx:${Region}:${Account}:backup/${BackupId}
backup
arn:${Partition}:fsx:${Region}:${Account}:file-cache/${FileCacheId}
file-cache
arn:${Partition}:fsx:${Region}:${Account}:file-system/${FileSystemId}
file-system
arn:${Partition}:fsx:${Region}:${Account}:snapshot/${VolumeId}/${SnapshotId}
snapshot
arn:${Partition}:fsx:${Region}:${Account}:storage-virtual-machine/${FileSystemId}/${StorageVirtualMachineId}
storage-virtual-machine
arn:${Partition}:fsx:${Region}:${Account}:task/${TaskId}
task
arn:${Partition}:fsx:${Region}:${Account}:volume/${FileSystemId}/${VolumeId}
volume

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in fsx

View all fsx actions →