Actions, resources, and condition keys for Amazon Elastic File System
Amazon Elastic File System (service prefix: elasticfilesystem) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Elastic File System
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateAccessPoint |
Write |
|||
Tagging, Write |
||||
|
CreateFileSystem |
Write |
|||
Tagging, Write |
||||
|
CreateMountTarget |
Write |
|||
|
CreateReplicationConfiguration |
Write |
|||
iam:PassedToService |
elasticfilesystem.amazonaws.com |
Write |
||
|
CreateTags |
Tagging, Write |
|||
|
DeleteAccessPoint |
Write |
|||
|
DeleteFileSystem |
Write |
|||
|
DeleteFileSystemPolicy |
Permissions management, Write |
|||
|
DeleteMountTarget |
Write |
|||
|
DeleteReplicationConfiguration |
Write |
|||
|
DeleteTags |
Tagging, Write |
|||
|
DescribeAccessPoints |
List |
|||
|
DescribeAccountPreferences |
List |
|||
|
DescribeBackupPolicy |
Read |
|||
|
DescribeFileSystemPolicy |
Read |
|||
|
DescribeFileSystems |
List |
|||
|
DescribeLifecycleConfiguration |
Read |
|||
|
DescribeMountTargetSecurityGroups |
Read |
|||
|
DescribeMountTargets |
Read |
|||
|
DescribeReplicationConfigurations |
List |
|||
|
DescribeTags |
Read |
|||
|
ListTagsForResource |
Read |
|||
|
ModifyMountTargetSecurityGroups |
Write |
|||
|
PutAccountPreferences |
Write |
|||
|
PutBackupPolicy |
Write |
|||
|
PutFileSystemPolicy |
Permissions management, Write |
|||
|
PutLifecycleConfiguration |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateFileSystem |
Write |
|||
|
UpdateFileSystemProtection |
Write |
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 Amazon. 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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create an access point for the specified file system |
Write |
|||
Grants permission to create a new, empty file system |
Write |
|||
Grants permission to create a mount target for a file system |
Write |
|||
Grants permission to create a new replication configuration |
Write |
|||
Grants permission to create or overwrite tags associated with a file system; deprecated, see TagResource |
Tagging, Write |
|||
Grants permission to delete the specified access point |
Write |
|||
Grants permission to delete a file system, permanently severing access to its contents |
Write |
|||
Grants permission to delete the resource-level policy for a file system |
Permissions management, Write |
|||
Grants permission to delete the specified mount target |
Write |
|||
Grants permission to delete a replication configuration |
Write |
|||
Grants permission to delete the specified tags from a file system; deprecated, see UntagResource |
Tagging, Write |
|||
Grants permission to view the descriptions of Amazon EFS access points |
List |
|||
Grants permission to view the account preferences in effect for an account |
List |
|||
Grants permission to view the BackupPolicy object for an Amazon EFS file system |
Read |
|||
Grants permission to view the resource-level policy for an Amazon EFS file system |
Read |
|||
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 Amazon Web Services account in the Amazon region of the endpoint that is being called |
List |
|||
Grants permission to view the LifecycleConfiguration object for an Amazon EFS file system |
Read |
|||
Grants permission to view the security groups in effect for a mount target |
Read |
|||
Grants permission to view the descriptions of all mount targets, or a specific mount target, for a file system |
Read |
|||
Grants permission to view the description of an Amazon EFS replication configuration specified by FileSystemId; or to view the description of all replication configurations owned by the caller's Amazon Web Services account in the Amazon region of the endpoint that is being called |
List |
|||
Grants permission to view the tags associated with a file system |
Read |
|||
Grants permission to view the tags associated with the specified Amazon EFS resource |
Read |
|||
Grants permission to modify the set of security groups in effect for a mount target |
Write |
|||
Grants permission to set the account preferences of an account |
Write |
|||
Grants permission to enable or disable automatic backups with Amazon Backup by creating a new BackupPolicy object |
Write |
|||
Grants permission to apply a resource-level policy that defines the actions allowed or denied from given actors for the specified file system |
Permissions management, Write |
|||
Grants permission to enable lifecycle management by creating a new LifecycleConfiguration object |
Write |
|||
Grants permission to create or overwrite tags associated with the specified Amazon EFS resource |
Tagging, Write |
|||
Grants permission to delete the specified tags from an Amazon EFS resource |
Tagging, Write |
|||
Grants permission to update the throughput mode or the amount of provisioned throughput of an existing file system |
Write |
|||
Grants permission to update the file system protection of an existing file system |
Write |
Permission-only actions for Amazon Elastic File System
The following actions are defined by Amazon Elastic File System but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to start a backup job for an existing file system |
Write |
|||
Grants permission to allow an NFS client read-access to a file system |
Read |
|||
Grants permission to allow an NFS client root-access to a file system |
Write |
|||
Grants permission to allow an NFS client write-access to a file system |
Write |
|||
Grants permission to read file system data for replication |
Read |
|||
Grants permission to replicate data to a file system |
Write |
|||
Grants permission to start a restore job for a backup of a file system |
Write |
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.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:elasticfilesystem:${Region}:${Account}:access-point/${AccessPointId} |
||
arn:${Partition}:elasticfilesystem:${Region}:${Account}:file-system/${FileSystemId} |
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.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag key and value pair that is allowed in the request |
String |
|
Filters access by a tag key and value pair of a resource |
String |
|
Filters access by a list of tag keys that are allowed in the request |
ArrayOfString |
|
Filters access by the ARN of the access point used to mount the file system |
ARN |
|
Filters access by whether the file system is accessed via mount targets |
Bool |
|
Filters access by the name of a resource-creating API action |
String |
|
Filters access by whether users can create only encrypted or unencrypted file systems |
Bool |