datasync:DescribeTaskExecution

Read

datasync:DescribeTaskExecution is a Read access-level action in the datasync service. Grants permission to view metadata about a sync task that is being executed

Resource types

ARNs that datasync:DescribeTaskExecution can be scoped to in an IAM policy.

arn:${Partition}:datasync:${Region}:${AccountId}:task/${TaskId}/execution/${ExecutionId}
taskexecution

Condition keys

Keys you can use in the Condition block of a policy that grants datasync:DescribeTaskExecution.

aws:ResourceTag/${TagKey} String

Filters access by the tag key-value pairs associated with the resource

Example IAM policy

A minimal policy that allows datasync:DescribeTaskExecution. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDatasyncDescribeTaskExecution",
      "Effect": "Allow",
      "Action": "datasync:DescribeTaskExecution",
      "Resource": "*"
    }
  ]
}

Related actions in datasync

View all datasync actions →