Actions, resources, and condition keys for Amazon WorkDocs
Amazon WorkDocs (service prefix: workdocs) 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 WorkDocs
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 |
|---|---|---|---|---|
|
AbortDocumentVersionUpload |
Write |
|||
|
ActivateUser |
Write |
|||
|
AddResourcePermissions |
Write |
|||
|
CreateComment |
Write |
|||
|
CreateCustomMetadata |
Write |
|||
|
CreateFolder |
Write |
|||
|
CreateLabels |
Write |
|||
|
CreateNotificationSubscription |
Write |
|||
|
CreateUser |
Write |
|||
|
DeactivateUser |
Write |
|||
|
DeleteCustomMetadata |
Write |
|||
|
DeleteDocument |
Write |
|||
|
DeleteDocumentVersion |
Write |
|||
|
DeleteFolder |
Write |
|||
|
DeleteFolderContents |
Write |
|||
|
DeleteLabels |
Write |
|||
|
DeleteNotificationSubscription |
Write |
|||
|
DeleteUser |
Write |
|||
|
DescribeActivities |
List |
|||
|
DescribeComments |
List |
|||
|
DescribeDocumentVersions |
List |
|||
|
DescribeFolderContents |
List |
|||
|
DescribeGroups |
List |
|||
|
DescribeNotificationSubscriptions |
List |
|||
|
DescribeResourcePermissions |
List |
|||
|
DescribeUsers |
List |
|||
|
GetDocument |
Read |
|||
|
GetDocumentPath |
Read |
|||
|
GetDocumentVersion |
Read |
|||
Read |
||||
|
GetFolder |
Read |
|||
|
GetFolderPath |
Read |
|||
|
GetResources |
Read |
|||
|
InitiateDocumentVersionUpload |
Write |
|||
|
RemoveAllResourcePermissions |
Write |
|||
|
RemoveResourcePermission |
Write |
|||
|
RestoreDocumentVersions |
Write |
|||
|
SearchResources |
List |
|||
|
UpdateDocument |
Write |
|||
Write |
||||
Write |
||||
|
UpdateDocumentVersion |
Write |
|||
|
UpdateFolder |
Write |
|||
Write |
||||
|
UpdateUser |
Write |
|||
Write |
Actions defined by Amazon WorkDocs
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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to abort the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload |
Write |
|||
Grants permission to activate the specified user. Only active users can access Amazon WorkDocs |
Write |
|||
Grants permission to create a set of permissions for the specified folder or document |
Write |
|||
Grants permission to add a new comment to the specified document version |
Write |
|||
Grants permission to add one or more custom properties to the specified resource |
Write |
|||
Grants permission to create a folder with the specified name and parent folder |
Write |
|||
Grants permission to add labels to the given resource |
Write |
|||
Grants permission to configure WorkDocs to use Amazon SNS notifications |
Write |
|||
Grants permission to create a user in a Simple AD or Microsoft AD directory |
Write |
|||
Grants permission to deactivate the specified user, which revokes the user's access to Amazon WorkDocs |
Write |
|||
Grants permission to delete the specified comment from the document version |
Write |
|||
Grants permission to delete custom metadata from the specified resource |
Write |
|||
Grants permission to permanently delete the specified document and its associated metadata |
Write |
|||
Grants permission to delete versions of a specified document |
Write |
|||
Grants permission to permanently delete the specified folder and its contents |
Write |
|||
Grants permission to delete the contents of the specified folder |
Write |
|||
Grants permission to delete one or more labels from a resource |
Write |
|||
Grants permission to delete the specified subscription from the specified organization |
Write |
|||
Grants permission to delete the specified user from a Simple AD or Microsoft AD directory |
Write |
|||
Grants permission to fetch user activities in a specified time period |
List |
|||
Grants permission to list all the comments for the specified document version |
List |
|||
Grants permission to retrieve the document versions for the specified document |
List |
|||
Grants permission to describe the contents of the specified folder, including its documents and sub-folders |
List |
|||
Grants permission to describe the user groups |
List |
|||
Grants permission to list the specified notification subscriptions |
List |
|||
Grants permission to view a description of a specified resource's permissions |
List |
|||
Grants permission to describe the root folders |
List |
|||
Grants permission to view a description of the specified users. You can describe all users or filter the results (for example, by status or organization) |
List |
|||
Grants permission to retrieve the details of the current user |
Read |
|||
Grants permission to retrieve the specified document object |
Read |
|||
Grants permission to retrieve the path information (the hierarchy from the root folder) for the requested document |
Read |
|||
Grants permission to retrieve version metadata for the specified document |
Read |
|||
Grants permission to retrieve the metadata of the specified folder |
Read |
|||
Grants permission to retrieve the path information (the hierarchy from the root folder) for the specified folder |
Read |
|||
Grants permission to get a collection of resources |
Read |
|||
Grants permission to create a new document object and version object |
Write |
|||
Grants permission to remove all the permissions from the specified resource |
Write |
|||
Grants permission to remove the permission for the specified principal from the specified resource |
Write |
|||
Grants permission to restore versions of a specified document |
Write |
|||
Grants permission to search metadata and the content of resources |
List |
|||
Grants permission to update the specified attributes of the specified document |
Write |
|||
Grants permission to change the status of the document version to ACTIVE |
Write |
|||
Grants permission to update the specified attributes of the specified folder |
Write |
|||
Grants permission to update the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site |
Write |
Permission-only actions for Amazon WorkDocs
The following actions are defined by Amazon WorkDocs 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 add principals that are allowed to call notification subscription APIs for a given WorkDocs site |
Write |
|||
Grants permission to add a user to a group |
Write |
|||
Grants permission to check an alias |
Read |
|||
Grants permission to create an instance |
Write |
|||
Grants permission to delete an instance |
Write |
|||
Grants permission to delete principals that are allowed to call notification subscription APIs for a given WorkDocs site |
Write |
|||
Grants permission to deregister a directory |
Write |
|||
Grants permission to describe available directories |
List |
|||
Grants permission to describe the export history for an instance |
List |
|||
Grants permission to describe instances |
List |
|||
Grants permission to describe principals that are allowed to call notification subscription APIs for a given WorkDocs site |
List |
|||
Grants permission to download a specified document version |
Read |
|||
Grants permission to retrieve details for the specified group |
Read |
|||
Grants permission to register a directory |
Write |
|||
Grants permission to start an export for an instance |
Write |
|||
Grants permission to update an instance alias |
Write |
|||
Grants permission to update the administrative settings for a user |
Write |
Resource types defined by Amazon WorkDocs
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}:workdocs:${Region}:${Account}:organization/${ResourceId} |
Condition keys for Amazon WorkDocs
Amazon WorkDocs has no service-specific condition keys that can be used in the
Condition element of policy statements.