Actions, resources, and condition keys for Amazon S3 Files
Amazon S3 Files (service prefix: s3files) 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 S3 Files
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 |
||||
iam:PassedToService |
elasticfilesystem.amazonaws.com |
Write |
||
|
CreateMountTarget |
Write |
|||
|
DeleteAccessPoint |
Write |
|||
|
DeleteFileSystem |
Write |
|||
|
DeleteFileSystemPolicy |
Permissions management, Write |
|||
|
DeleteMountTarget |
Write |
|||
|
GetAccessPoint |
Read |
|||
|
GetFileSystem |
Read |
|||
|
GetFileSystemPolicy |
Read |
|||
|
GetMountTarget |
Read |
|||
|
GetSynchronizationConfiguration |
Read |
|||
|
ListAccessPoints |
List |
|||
|
ListFileSystems |
List |
|||
|
ListMountTargets |
List |
|||
|
ListTagsForResource |
Read |
|||
|
PutFileSystemPolicy |
Permissions management, Write |
|||
|
PutSynchronizationConfiguration |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateMountTarget |
Write |
Actions defined by Amazon S3 Files
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 file system |
Write |
|||
Grants permission to create a mount target for a file system |
Write |
|||
Grants permission to delete a specified access point |
Write |
|||
Grants permission to delete a specified file system |
Write |
|||
Grants permission to delete the IAM resource policy for a specified file system |
Permissions management, Write |
|||
Grants permission to delete a specified mount target |
Write |
|||
Grants permission to get resource information for a specified access point |
Read |
|||
Grants permission to get resource information for a specified file system |
Read |
|||
Grants permission to get the IAM resource policy for a specified file system |
Read |
|||
Grants permission to get resource information for a specified mount target |
Read |
|||
Grants permission to get a synchronization configuration for a specified file system |
Read |
|||
Grants permission to get a paginated list of all access points in the account |
List |
|||
Grants permission to get a paginated list of all file systems in the account |
List |
|||
Grants permission to get a paginated list of all mount targets in the account |
List |
|||
Grants permission to list tags for a specified S3 Files resource |
Read |
|||
Grants permission to add an IAM resource policy to a specified file system |
Permissions management, Write |
|||
Grants permission to add a synchronization configuration to a specified file system |
Write |
|||
Grants permission to tag a specified S3 Files resource |
Tagging, Write |
|||
Grants permission to untag a specified S3 Files resource |
Tagging, Write |
|||
Grants permission to update resource information for a specified mount target |
Write |
Permission-only actions for Amazon S3 Files
The following actions are defined by Amazon S3 Files 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 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 |
Resource types defined by Amazon S3 Files
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}:s3files:${Region}:${Account}:file-system/${FileSystemId}/access-point/${AccessPointId} |
||
arn:${Partition}:s3files:${Region}:${Account}:file-system/${FileSystemId} |
Condition keys for Amazon S3 Files
Amazon S3 Files defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the tags that are passed in the request |
String |
|
Filters access by the tags associated with the resource |
String |
|
Filters access by the tag keys that are passed in the request |
ArrayOfString |
|
Filters access by the ARN of the access point used to mount the file system |
ARN |
|
Filters access by the name of a resource-creating API action |
String |