View a markdown version of this page

Actions, resources, and condition keys for Amazon S3 Files - Service Authorization Reference
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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:

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

s3files:CreateAccessPoint

Write

s3files:TagResource

Tagging, Write

CreateFileSystem

s3files:CreateFileSystem

Write

s3files:TagResource

Tagging, Write

iam:PassRole

iam:PassedToService

elasticfilesystem.amazonaws.com

Write

CreateMountTarget

s3files:CreateMountTarget

Write

DeleteAccessPoint

s3files:DeleteAccessPoint

Write

DeleteFileSystem

s3files:DeleteFileSystem

Write

DeleteFileSystemPolicy

s3files:DeleteFileSystemPolicy

Permissions management, Write

DeleteMountTarget

s3files:DeleteMountTarget

Write

GetAccessPoint

s3files:GetAccessPoint

Read

GetFileSystem

s3files:GetFileSystem

Read

GetFileSystemPolicy

s3files:GetFileSystemPolicy

Read

GetMountTarget

s3files:GetMountTarget

Read

GetSynchronizationConfiguration

s3files:GetSynchronizationConfiguration

Read

ListAccessPoints

s3files:ListAccessPoints

List

ListFileSystems

s3files:ListFileSystems

List

ListMountTargets

s3files:ListMountTargets

List

ListTagsForResource

s3files:ListTagsForResource

Read

PutFileSystemPolicy

s3files:PutFileSystemPolicy

Permissions management, Write

PutSynchronizationConfiguration

s3files:PutSynchronizationConfiguration

Write

TagResource

s3files:TagResource

Tagging, Write

UntagResource

s3files:UntagResource

Tagging, Write

UpdateMountTarget

s3files: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

CreateAccessPoint

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

file-system*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

Write

CreateFileSystem

Grants permission to create a new file system

aws:RequestTag/${TagKey}

aws:TagKeys

Write

CreateMountTarget

Grants permission to create a mount target for a file system

file-system*

aws:ResourceTag/${TagKey}

Write

DeleteAccessPoint

Grants permission to delete a specified access point

access-point*

aws:ResourceTag/${TagKey}

Write

DeleteFileSystem

Grants permission to delete a specified file system

file-system*

aws:ResourceTag/${TagKey}

Write

DeleteFileSystemPolicy

Grants permission to delete the IAM resource policy for a specified file system

file-system*

aws:ResourceTag/${TagKey}

Permissions management, Write

DeleteMountTarget

Grants permission to delete a specified mount target

file-system*

aws:ResourceTag/${TagKey}

Write

GetAccessPoint

Grants permission to get resource information for a specified access point

access-point*

aws:ResourceTag/${TagKey}

Read

GetFileSystem

Grants permission to get resource information for a specified file system

file-system

aws:ResourceTag/${TagKey}

Read

GetFileSystemPolicy

Grants permission to get the IAM resource policy for a specified file system

file-system

aws:ResourceTag/${TagKey}

Read

GetMountTarget

Grants permission to get resource information for a specified mount target

file-system*

aws:ResourceTag/${TagKey}

Read

GetSynchronizationConfiguration

Grants permission to get a synchronization configuration for a specified file system

file-system*

aws:ResourceTag/${TagKey}

Read

ListAccessPoints

Grants permission to get a paginated list of all access points in the account

access-point*

aws:ResourceTag/${TagKey}

List

ListFileSystems

Grants permission to get a paginated list of all file systems in the account

file-system

aws:ResourceTag/${TagKey}

List

ListMountTargets

Grants permission to get a paginated list of all mount targets in the account

file-system*

aws:ResourceTag/${TagKey}

List

ListTagsForResource

Grants permission to list tags for a specified S3 Files resource

access-point

aws:ResourceTag/${TagKey}

Read

file-system

aws:ResourceTag/${TagKey}

PutFileSystemPolicy

Grants permission to add an IAM resource policy to a specified file system

file-system*

aws:ResourceTag/${TagKey}

Permissions management, Write

PutSynchronizationConfiguration

Grants permission to add a synchronization configuration to a specified file system

file-system*

aws:ResourceTag/${TagKey}

Write

TagResource

Grants permission to tag a specified S3 Files resource

access-point

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3files:CreateAction

Tagging, Write

file-system

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

s3files:CreateAction

UntagResource

Grants permission to untag a specified S3 Files resource

access-point

aws:ResourceTag/${TagKey}

aws:TagKeys

Tagging, Write

file-system

aws:ResourceTag/${TagKey}

aws:TagKeys

UpdateMountTarget

Grants permission to update resource information for a specified mount target

file-system*

aws:ResourceTag/${TagKey}

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

ClientMount

Grants permission to allow an NFS client read-access to a file system

file-system*

aws:ResourceTag/${TagKey}

s3files:AccessPointArn

Read

ClientRootAccess

Grants permission to allow an NFS client root-access to a file system

file-system*

aws:ResourceTag/${TagKey}

s3files:AccessPointArn

Write

ClientWrite

Grants permission to allow an NFS client write-access to a file system

file-system*

aws:ResourceTag/${TagKey}

s3files:AccessPointArn

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

access-point

arn:${Partition}:s3files:${Region}:${Account}:file-system/${FileSystemId}/access-point/${AccessPointId}

aws:ResourceTag/${TagKey}

file-system

arn:${Partition}:s3files:${Region}:${Account}:file-system/${FileSystemId}

aws:ResourceTag/${TagKey}

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

aws:RequestTag/${TagKey}

Filters access by the tags that are passed in the request

String

aws:ResourceTag/${TagKey}

Filters access by the tags associated with the resource

String

aws:TagKeys

Filters access by the tag keys that are passed in the request

ArrayOfString

s3files:AccessPointArn

Filters access by the ARN of the access point used to mount the file system

ARN

s3files:CreateAction

Filters access by the name of a resource-creating API action

String