Actions, resources, and condition keys for Amazon Elastic File System - Service Authorization Reference

Actions, resources, and condition keys for Amazon Elastic File System

Amazon Elastic File System (service prefix: elasticfilesystem) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:

Actions defined by Amazon Elastic File System

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

The Resource types column indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") in the Resource element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. Required resources are indicated in the table with an asterisk (*). If you specify a resource-level permission ARN in a statement using this action, then it must be of this type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one but not the other.

For details about the columns in the following table, see The actions table.

Actions Description Access level Resource types (*required) Condition keys Dependent actions
Backup [permission only] Grants permission to start a backup job for an existing file system Write

file-system*

ClientMount [permission only] Grants permission to allow an NFS client read-access to a file system Read

file-system*

elasticfilesystem:AccessPointArn

elasticfilesystem:AccessedViaMountTarget

ClientRootAccess [permission only] Grants permission to allow an NFS client root-access to a file system Write

file-system*

elasticfilesystem:AccessPointArn

elasticfilesystem:AccessedViaMountTarget

ClientWrite [permission only] Grants permission to allow an NFS client write-access to a file system Write

file-system*

elasticfilesystem:AccessPointArn

elasticfilesystem:AccessedViaMountTarget

CreateAccessPoint Grants permission to create an access point for the specified file system Write

file-system*

CreateFileSystem Grants permission to create a new, empty file system Write

aws:RequestTag/${TagKey}

aws:TagKeys

elasticfilesystem:Encrypted

CreateMountTarget Grants permission to create a mount target for a file system Write

file-system*

CreateTags Grants permission to create or overwrite tags associated with a file system; deprecated, see TagResource Tagging

file-system*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteAccessPoint Grants permission to delete the specified access point Write

access-point*

DeleteFileSystem Grants permission to delete a file system, permanently severing access to its contents Write

file-system*

DeleteFileSystemPolicy Grants permission to delete the resource-level policy for a file system Write

file-system*

DeleteMountTarget Grants permission to delete the specified mount target Write

file-system*

DeleteTags Grants permission to delete the specified tags from a file system; deprecated, see UntagResource Tagging

file-system*

aws:TagKeys

DescribeAccessPoints Grants permission to view the descriptions of Amazon EFS access points List

access-point

file-system

DescribeBackupPolicy Grants permission to view the BackupPolicy object for an Amazon EFS file system Read

file-system*

DescribeFileSystemPolicy Grants permission to view the resource-level policy for an Amazon EFS file system Read

file-system

DescribeFileSystems Grants permission to view the description of an Amazon EFS file system specified by file system CreationToken or FileSystemId; or to view the description of all file systems owned by the caller's AWS account in the AWS region of the endpoint that is being called List

file-system

DescribeLifecycleConfiguration Grants permission to view the LifecycleConfiguration object for an Amazon EFS file system Read

file-system*

DescribeMountTargetSecurityGroups Grants permission to view the security groups in effect for a mount target Read
DescribeMountTargets Grants permission to view the descriptions of all mount targets, or a specific mount target, for a file system Read

file-system*

access-point

DescribeTags Grants permission to view the tags associated with a file system Read

file-system*

ListTagsForResource Grants permission to view the tags associated with the specified Amazon EFS resource Read

access-point

file-system

ModifyMountTargetSecurityGroups Grants permission to modify the set of security groups in effect for a mount target Write
PutBackupPolicy Grants permission to enable or disable automatic backups with AWS Backup by creating a new BackupPolicy object Write

file-system*

PutFileSystemPolicy Grants permission to apply a resource-level policy that defines the actions allowed or denied from given actors for the specified file system Write

file-system*

PutLifecycleConfiguration Grants permission to enable lifecycle management by creating a new LifecycleConfiguration object Write

file-system*

Restore [permission only] Grants permission to start a restore job for a backup of a file system Write

file-system*

TagResource Grants permission to create or overwrite tags associated with the specified Amazon EFS resource Tagging

access-point

file-system

UntagResource Grants permission to delete the specified tags from an Amazon EFS resource Tagging

access-point

file-system

UpdateFileSystem Grants permission to update the throughput mode or the amount of provisioned throughput of an existing file system Write

file-system*

Resource types defined by Amazon Elastic File System

The following resource types are defined by this service and can be used in the Resource element of IAM permission policy statements. Each action in the Actions table identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the table. For details about the columns in the following table, see The resource types table.

Resource types ARN Condition keys
file-system arn:${Partition}:elasticfilesystem:${Region}:${Account}:file-system/${FileSystemId}

aws:ResourceTag/${TagKey}

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

aws:ResourceTag/${TagKey}

Condition keys for Amazon Elastic File System

Amazon Elastic File System defines the following condition keys that can be used in the Condition element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see The condition keys table.

To view the global condition keys that are available to all services, see Available global condition keys.

Condition keys Description Type
aws:RequestTag/${TagKey} Filters access by a tag key and value pair that is allowed in the request String
aws:ResourceTag/${TagKey} Filters access by a tag key and value pair of a resource String
aws:TagKeys Filters access by a list of tag keys that are allowed in the request String
elasticfilesystem:AccessPointArn Filters access by the ARN of the access point used to mount the file system String
elasticfilesystem:AccessedViaMountTarget Filters access by whether the file system is accessed via mount targets Bool
elasticfilesystem:Encrypted Filters access by whether users can create only encrypted or unencrypted file systems Bool