agents
Retrieves a list of agents
in a region
Overview
Name | agents |
Type | Resource |
Description | agents |
Id | awscc.datasync.agents |
Fields
Name | Datatype | Description |
---|---|---|
agent_arn | string | The DataSync Agent ARN. |
region | string | AWS 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