agent
Gets an individual agent
resource
Overview
Name | agent |
Type | Resource |
Description | agent |
Id | awscc.datasync.agent |
Fields
Name | Datatype | Description |
---|---|---|
agent_name | string | The name configured for the agent. Text reference used to identify the agent in the console. |
activation_key | string | Activation key of the Agent. |
security_group_arns | array | The ARNs of the security group used to protect your data transfer task subnets. |
subnet_arns | array | The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task. |
vpc_endpoint_id | string | The ID of the VPC endpoint that the agent has access to. |
endpoint_type | string | The service endpoints that the agent will connect to. |
tags | array | An array of key-value pairs to apply to this resource. |
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_name,
activation_key,
security_group_arns,
subnet_arns,
vpc_endpoint_id,
endpoint_type,
tags,
agent_arn
FROM awscc.datasync.agent
WHERE data__Identifier = '<AgentArn>';
Permissions
To operate on the agent
resource, the following permissions are required:
Read
datasync:DescribeAgent,
datasync:ListTagsForResource
Update
datasync:UpdateAgent,
datasync:DescribeAgent,
datasync:ListTagsForResource,
datasync:TagResource,
datasync:UntagResource
Delete
datasync:DeleteAgent