Actions, resources, and condition keys for Amazon Elastic File System - AWS Identity and Access Management

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] Starts a backup job for an existing file system. Write

file-system*

ClientMount [permission only] Permission for allowing read-access to a file system. Read

elasticfilesystem:AccessPointArn

ClientRootAccess [permission only] Permission for allowing root-access to a file system. Write

file-system*

elasticfilesystem:AccessPointArn

ClientWrite [permission only] Permission for allowing write-access to a file system. Write

file-system*

elasticfilesystem:AccessPointArn

CreateAccessPoint Creates an access point for the specified file system. Write

file-system*

CreateFileSystem Creates a new, empty file system. Tagging

aws:RequestTag/${TagKey}

aws:TagKeys

elasticfilesystem:Encrypted

CreateMountTarget Creates a mount target for a file system. Write

file-system*

CreateTags Creates or overwrites tags associated with a file system. Tagging

file-system*

aws:RequestTag/${TagKey}

aws:TagKeys

DeleteAccessPoint Deletes the specified access point. Write

access-point*

DeleteFileSystem Deletes a file system, permanently severing access to its contents. Write

file-system*

DeleteFileSystemPolicy Clears the resource-level policy for a given file system. Write

file-system*

DeleteMountTarget Deletes the specified mount target. Write

file-system*

DeleteTags Deletes the specified tags from a file system. Tagging

file-system*

aws:TagKeys

DescribeAccessPoints Returns the descriptions of Amazon EFS access points. List

file-system*

DescribeBackupPolicy Returns the current BackupPolicy object for the specified Amazon EFS file system. Read

file-system*

DescribeFileSystemPolicy Returns the current resource-level policy for a given file system. Read

file-system

DescribeFileSystems Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided; otherwise, returns descriptions of all file systems owned by the caller's AWS account in the AWS region of the endpoint that you're calling. List

file-system

DescribeLifecycleConfiguration Returns the current LifecycleConfiguration object for the specified Amazon EFS file system. Read

file-system*

DescribeMountTargetSecurityGroups Returns the security groups currently in effect for a mount target. Read

file-system*

DescribeMountTargets Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. Read

file-system*

DescribeTags Returns the tags associated with a file system. Read

file-system*

ListTagsForResource Returns the tags associated with the specified Amazon EFS resource. Read

file-system*

ModifyMountTargetSecurityGroups Modifies the set of security groups in effect for a mount target. Write

file-system*

PutBackupPolicy Enables automatic backups with AWS Backup by creating a new BackupPolicy object. Write

file-system*

PutFileSystemPolicy Apply a resource-level policy granting and/or restricting actions from given actors for the specified file system. Write

file-system*

PutLifecycleConfiguration Enables lifecycle management by creating a new LifecycleConfiguration object. Write

file-system*

Restore [permission only] Starts a restore job for an existing file system. Write

file-system*

TagResource Creates or overwrites tags associated with the specified Amazon EFS resource. Tagging
UntagResource Deletes the specified tags from a specified Amazon EFS resource. Tagging
UpdateFileSystem Updates 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 actions based on the allowed set of values for each of the tags String
aws:ResourceTag/${TagKey} Filters actions based on tag key-value pairs attached to the resource String
aws:TagKeys Filters actions based on the presence of mandatory tags in the request String
elasticfilesystem:AccessPointArn The ARN of the access point used to mount the file system String
elasticfilesystem:Encrypted Control encryption behavior for new EFS file systems Bool