

# Actions, resources, and condition keys for AWS DataSync
<a name="list_awsdatasync"></a>

AWS DataSync (service prefix: `datasync`) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:
+ Learn how to [configure this service](https://docs.aws.amazon.com/datasync/latest/userguide/).
+ View a list of the [API operations available for this service](https://docs.aws.amazon.com/datasync/latest/userguide/API_Reference.html).
+ Learn how to secure this service and its resources by [using IAM](https://docs.aws.amazon.com/datasync/latest/userguide/iam.html) permission policies.

**Topics**
+ [Actions defined by AWS DataSync](#awsdatasync-actions-as-permissions)
+ [Resource types defined by AWS DataSync](#awsdatasync-resources-for-iam-policies)
+ [Condition keys for AWS DataSync](#awsdatasync-policy-keys)

## Actions defined by AWS DataSync
<a name="awsdatasync-actions-as-permissions"></a>

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 **Access level** column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see [Access levels in policy summaries](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html).

The **Resource types** column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("\*") to which the policy applies 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. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (\*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The **Condition keys** column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the **Condition keys** column of the Resource types table.

The **Dependent actions** column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

**Note**  
Resource condition keys are listed in the [Resource types](#awsdatasync-resources-for-iam-policies) table. You can find a link to the resource type that applies to an action in the **Resource types (\*required)** column of the Actions table. The resource type in the Resource types table includes the **Condition keys** column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see [Actions table](reference_policies_actions-resources-contextkeys.html#actions_table).


****  


- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_AddStorageSystem.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_AddStorageSystem.html) **
  - **Description:** Grants permission to create a storage system
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CancelTaskExecution.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CancelTaskExecution.html) **
  - **Description:** Grants permission to cancel execution of a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html) **
  - **Description:** Grants permission to activate an agent that you have deployed on your host
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationAzureBlob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationAzureBlob.html) **
  - **Description:** Grants permission to create an endpoint for a Microsoft Azure Blob Storage container
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationEfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationEfs.html) **
  - **Description:** Grants permission to create an endpoint for an Amazon EFS file system
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxLustre.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxLustre.html) **
  - **Description:** Grants permission to create an endpoint for an Amazon Fsx Lustre
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html) **
  - **Description:** Grants permission to create an endpoint for Amazon FSx for ONTAP
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOpenZfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOpenZfs.html) **
  - **Description:** Grants permission to create an endpoint for Amazon FSx for OpenZFS
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxWindows.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxWindows.html) **
  - **Description:** Grants permission to create an endpoint for an Amazon FSx Windows File Server file system
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationHdfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationHdfs.html) **
  - **Description:** Grants permission to create an endpoint for an Amazon Hdfs
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationNfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationNfs.html) **
  - **Description:** Grants permission to create an endpoint for a NFS file system
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationObjectStorage.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationObjectStorage.html) **
  - **Description:** Grants permission to create an endpoint for a self-managed object storage bucket
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationS3.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationS3.html) **
  - **Description:** Grants permission to create an endpoint for an Amazon S3 bucket
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationSmb.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationSmb.html) **
  - **Description:** Grants permission to create an endpoint for an SMB file system
  - **Access level:** Write
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html) **
  - **Description:** Grants permission to create a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteAgent.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteAgent.html) **
  - **Description:** Grants permission to delete an agent
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteLocation.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteLocation.html) **
  - **Description:** Grants permission to delete a location used by AWS DataSync
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteTask.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DeleteTask.html) **
  - **Description:** Grants permission to delete a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html) **
  - **Description:** Grants permission to view metadata such as name, network interfaces, and the status (that is, whether the agent is running or not) about a sync agent
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeDiscoveryJob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeDiscoveryJob.html) **
  - **Description:** Grants permission to describe metadata about a discovery job
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationAzureBlob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationAzureBlob.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Azure Blob Storage sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationEfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationEfs.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon EFS sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxLustre.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxLustre.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon FSx Lustre sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxOntap.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxOntap.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon FSx for ONTAP sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxOpenZfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxOpenZfs.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon FSx OpenZFS sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxWindows.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationFsxWindows.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon FSx Windows sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationHdfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationHdfs.html) **
  - **Description:** Grants permission to view metadata, such as the path information about an Amazon HDFS sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationNfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationNfs.html) **
  - **Description:** Grants permission to view metadata, such as the path information, about a NFS sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationObjectStorage.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationObjectStorage.html) **
  - **Description:** Grants permission to view metadata about a self-managed object storage server location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationS3.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationS3.html) **
  - **Description:** Grants permission to view metadata, such as bucket name, about an Amazon S3 bucket sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationSmb.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeLocationSmb.html) **
  - **Description:** Grants permission to view metadata, such as the path information, about an SMB sync location
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystem.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystem.html) **
  - **Description:** Grants permission to view metadata about a storage system
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResourceMetrics.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResourceMetrics.html) **
  - **Description:** Grants permission to describe resource metrics collected by a discovery job
  - **Access level:** List
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html) **
  - **Description:** Grants permission to describe resources identified by a discovery job
  - **Access level:** List
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTask.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTask.html) **
  - **Description:** Grants permission to view metadata about a sync task
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeTaskExecution.html) **
  - **Description:** Grants permission to view metadata about a sync task that is being executed
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_GenerateRecommendations.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_GenerateRecommendations.html) **
  - **Description:** Grants permission to generate recommendations for a resource identified by a discovery job
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListAgents.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListAgents.html) **
  - **Description:** Grants permission to list agents owned by an AWS account in a region specified in the request
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListDiscoveryJobs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListDiscoveryJobs.html) **
  - **Description:** Grants permission to list discovery jobs
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListLocations.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListLocations.html) **
  - **Description:** Grants permission to list source and destination sync locations
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListStorageSystems.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListStorageSystems.html) **
  - **Description:** Grants permission to list storage systems
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTagsForResource.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTagsForResource.html) **
  - **Description:** Grants permission to list tags that have been added to the specified resource
  - **Access level:** Read
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTaskExecutions.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTaskExecutions.html) **
  - **Description:** Grants permission to list executed sync tasks
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:**  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_) 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTasks.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTasks.html) **
  - **Description:** Grants permission to list of all the sync tasks
  - **Access level:** List
  - **Resource types (\*required):** 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_RemoveStorageSystem.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_RemoveStorageSystem.html) **
  - **Description:** Grants permission to delete a storage system
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_StartDiscoveryJob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartDiscoveryJob.html) **
  - **Description:** Grants permission to start a discovery job for a storage system
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html) **
  - **Description:** Grants permission to start a specific invocation of a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_StopDiscoveryJob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_StopDiscoveryJob.html) **
  - **Description:** Grants permission to stop a discovery job
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_TagResource.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_TagResource.html) **
  - **Description:** Grants permission to apply a key-value pair to an AWS resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_RequestTag___TagKey_](#awsdatasync-aws_RequestTag___TagKey_) <br /> [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UntagResource.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UntagResource.html) **
  - **Description:** Grants permission to remove one or more tags from the specified resource
  - **Access level:** Tagging
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_TagKeys](#awsdatasync-aws_TagKeys)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateAgent.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateAgent.html) **
  - **Description:** Grants permission to update the name of an agent
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-agent](#awsdatasync-agent) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateDiscoveryJob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateDiscoveryJob.html) **
  - **Description:** Grants permission to update a discovery job
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-discoveryjob](#awsdatasync-discoveryjob) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationAzureBlob.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationAzureBlob.html) **
  - **Description:** Grants permission to update an Azure Blob Storage sync location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationEfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationEfs.html) **
  - **Description:** Grants permission to update an EFS sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxLustre.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxLustre.html) **
  - **Description:** Grants permission to update an FSx Lustre sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxOntap.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxOntap.html) **
  - **Description:** Grants permission to update an FSx ONTAP sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxOpenZfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxOpenZfs.html) **
  - **Description:** Grants permission to update an FSx OpenZFS sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxWindows.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationFsxWindows.html) **
  - **Description:** Grants permission to update an FSx Windows sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationHdfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationHdfs.html) **
  - **Description:** Grants permission to update an HDFS sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationNfs.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationNfs.html) **
  - **Description:** Grants permission to update an NFS sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationObjectStorage.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationObjectStorage.html) **
  - **Description:** Grants permission to update a self-managed object storage server location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationS3.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationS3.html) **
  - **Description:** Grants permission to update an S3 sync Location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationSmb.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateLocationSmb.html) **
  - **Description:** Grants permission to update a SMB sync location
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-location](#awsdatasync-location) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateStorageSystem.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateStorageSystem.html) **
  - **Description:** Grants permission to update a storage system
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-storagesystem](#awsdatasync-storagesystem) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTask.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTask.html) **
  - **Description:** Grants permission to update metadata associated with a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-task](#awsdatasync-task) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTaskExecution.html](https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTaskExecution.html) **
  - **Description:** Grants permission to update execution of a sync task
  - **Access level:** Write
  - **Resource types (\*required):**  [#awsdatasync-taskexecution](#awsdatasync-taskexecution)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  / **Dependent actions:** 



## Resource types defined by AWS DataSync
<a name="awsdatasync-resources-for-iam-policies"></a>

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](#awsdatasync-actions-as-permissions) 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 Resource types table. For details about the columns in the following table, see [Resource types table](reference_policies_actions-resources-contextkeys.html#resources_table).


****  

| Resource types | ARN | Condition keys | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html](https://docs.aws.amazon.com/datasync/latest/userguide/working-with-agents.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:agent/${AgentId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html](https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:location/${LocationId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html](https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:task/${TaskId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html](https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:task/${TaskId}/execution/${ExecutionId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/discovery-configure-storage.html](https://docs.aws.amazon.com/datasync/latest/userguide/discovery-configure-storage.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:system/${StorageSystemId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 
|   [https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-create.html](https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-create.html)  |  arn:${Partition}:datasync:${Region}:${AccountId}:system/${StorageSystemId}/job/${DiscoveryJobId}  |  [#awsdatasync-aws_ResourceTag___TagKey_](#awsdatasync-aws_ResourceTag___TagKey_)  | 

## Condition keys for AWS DataSync
<a name="awsdatasync-policy-keys"></a>

AWS DataSync 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 [Condition keys table](reference_policies_actions-resources-contextkeys.html#context_keys_table).

To view the global condition keys that are available to all services, see [AWS global condition context keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html).


****  

| Condition keys | Description | Type | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag)  | Filters access by the tag key-value pairs in the request | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag)  | Filters access by the tag key-value pairs associated with the resource | String | 
|   [https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys)  | Filters access by the tag keys in the request | ArrayOfString | 