AWS::DataSync::AgentResource schema for AWS::DataSync::Agent.
6 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ActivationKey | string | Create-onlyWrite-only |
AgentName | string | |
SecurityGroupArns | Array<string> | Create-only |
SubnetArns | Array<string> | Create-only |
Tags | Array<Tag> | |
VpcEndpointId | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AgentArn | string | The DataSync Agent ARN. |
EndpointType | string | The service endpoints that the agent will connect to. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::DataSync::Agent
Resources:
MyResource:
Type: AWS::DataSync::Agent
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
datasync:CreateAgentdatasync:TagResourcedatasync:DescribeAgentdatasync:ListTagsForResourceec2:DescribeNetworkInterfacesec2:DescribeSecurityGroupsec2:DescribeSubnetsec2:DescribeVpcEndpointsdatasync:DescribeAgentdatasync:ListTagsForResourcedatasync:UpdateAgentdatasync:DescribeAgentdatasync:ListTagsForResourcedatasync:TagResourcedatasync:UntagResourcedatasync:DeleteAgentdatasync:ListAgentsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAgentArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ActivationKeySecurityGroupArnsSubnetArnsVpcEndpointId