Skip to main content

tasks

Retrieves a list of tasks in a region

Overview

Nametasks
TypeResource
Descriptiontasks
Idawscc.datasync.tasks

Fields

NameDatatypeDescription
task_arnstringThe ARN of the task.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
task_arn
FROM awscc.datasync.tasks
WHERE region = 'us-east-1'

Permissions

To operate on the tasks resource, the following permissions are required:

Create

datasync:CreateTask,
datasync:DescribeTask,
datasync:ListTagsForResource,
datasync:TagResource,
s3:ListAllMyBuckets,
s3:ListBucket,
ec2:DescribeNetworkInterfaces,
ec2:CreateNetworkInterface,
ec2:DeleteNetworkInterface,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:CreateNetworkInterfacePermission,
fsx:DescribeFileSystems,
elasticfilesystem:DescribeFileSystems,
elasticfilesystem:DescribeMountTargets,
logs:DescribeLogGroups,
iam:GetRole,
iam:PassRole,
iam:AssumeRole

List

datasync:ListTasks