Skip to main content

agents

Retrieves a list of agents in a region

Overview

Nameagents
TypeResource
Descriptionagents
Idawscc.datasync.agents

Fields

NameDatatypeDescription
agent_arnstringThe DataSync Agent ARN.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
agent_arn
FROM awscc.datasync.agents
WHERE region = 'us-east-1'

Permissions

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

Create

datasync:CreateAgent,
datasync:TagResource,
datasync:DescribeAgent,
datasync:ListTagsForResource,
ec2:DescribeNetworkInterfaces,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcEndpoints

List

datasync:ListAgents