task
Gets an individual task
resource
Overview
Name | task |
Type | Resource |
Description | task |
Id | awscc.datasync.task |
Fields
Name | Datatype | Description |
---|---|---|
excludes | array | |
includes | array | |
tags | array | An array of key-value pairs to apply to this resource. |
cloud_watch_log_group_arn | string | The ARN of the Amazon CloudWatch log group that is used to monitor and log events in the task. |
destination_location_arn | string | The ARN of an AWS storage resource's location. |
name | string | The name of a task. This value is a text reference that is used to identify the task in the console. |
options | object | |
task_report_config | object | |
schedule | object | |
source_location_arn | string | The ARN of the source location for the task. |
task_arn | string | The ARN of the task. |
status | string | The status of the task that was described. |
source_network_interface_arns | array | |
destination_network_interface_arns | array | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
excludes,
includes,
tags,
cloud_watch_log_group_arn,
destination_location_arn,
name,
options,
task_report_config,
schedule,
source_location_arn,
task_arn,
status,
source_network_interface_arns,
destination_network_interface_arns
FROM awscc.datasync.task
WHERE data__Identifier = '<TaskArn>';
Permissions
To operate on the task
resource, the following permissions are required:
Read
datasync:DescribeTask,
datasync:ListTagsForResource
Update
datasync:UpdateTask,
datasync:DescribeTask,
datasync:ListTagsForResource,
datasync:TagResource,
datasync:UntagResource,
logs:DescribeLogGroups,
iam:PassRole
Delete
datasync:DeleteTask,
ec2:DescribeNetworkInterfaces,
ec2:DeleteNetworkInterface,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
fsx:DescribeFileSystems,
elasticfilesystem:DescribeFileSystems,
elasticfilesystem:DescribeMountTargets,
iam:GetRole