We recommend new projects start with resources from the AWS provider.
aws-native.datasync.Agent
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::DataSync::Agent.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var agent = new AwsNative.DataSync.Agent("agent", new()
    {
        ActivationKey = "AAAAA-7AAAA-GG7MC-3I9R3-27COD",
        AgentName = "MyAgent",
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasync.NewAgent(ctx, "agent", &datasync.AgentArgs{
			ActivationKey: pulumi.String("AAAAA-7AAAA-GG7MC-3I9R3-27COD"),
			AgentName:     pulumi.String("MyAgent"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const agent = new aws_native.datasync.Agent("agent", {
    activationKey: "AAAAA-7AAAA-GG7MC-3I9R3-27COD",
    agentName: "MyAgent",
});
import pulumi
import pulumi_aws_native as aws_native
agent = aws_native.datasync.Agent("agent",
    activation_key="AAAAA-7AAAA-GG7MC-3I9R3-27COD",
    agent_name="MyAgent")
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() => 
{
    var agent = new AwsNative.DataSync.Agent("agent", new()
    {
        ActivationKey = "AAAAA-7AAAA-GG7MC-3I9R3-27COD",
        AgentName = "MyAgent",
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasync.NewAgent(ctx, "agent", &datasync.AgentArgs{
			ActivationKey: pulumi.String("AAAAA-7AAAA-GG7MC-3I9R3-27COD"),
			AgentName:     pulumi.String("MyAgent"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const agent = new aws_native.datasync.Agent("agent", {
    activationKey: "AAAAA-7AAAA-GG7MC-3I9R3-27COD",
    agentName: "MyAgent",
});
import pulumi
import pulumi_aws_native as aws_native
agent = aws_native.datasync.Agent("agent",
    activation_key="AAAAA-7AAAA-GG7MC-3I9R3-27COD",
    agent_name="MyAgent")
Coming soon!
Create Agent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Agent(name: string, args?: AgentArgs, opts?: CustomResourceOptions);@overload
def Agent(resource_name: str,
          args: Optional[AgentArgs] = None,
          opts: Optional[ResourceOptions] = None)
@overload
def Agent(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          activation_key: Optional[str] = None,
          agent_name: Optional[str] = None,
          security_group_arns: Optional[Sequence[str]] = None,
          subnet_arns: Optional[Sequence[str]] = None,
          tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
          vpc_endpoint_id: Optional[str] = None)func NewAgent(ctx *Context, name string, args *AgentArgs, opts ...ResourceOption) (*Agent, error)public Agent(string name, AgentArgs? args = null, CustomResourceOptions? opts = null)type: aws-native:datasync:Agent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Agent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Agent resource accepts the following input properties:
- ActivationKey string
- Activation key of the Agent.
- AgentName string
- The name configured for the agent. Text reference used to identify the agent in the console.
- SecurityGroup List<string>Arns 
- The ARNs of the security group used to protect your data transfer task subnets.
- SubnetArns List<string>
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- VpcEndpoint stringId 
- The ID of the VPC endpoint that the agent has access to.
- ActivationKey string
- Activation key of the Agent.
- AgentName string
- The name configured for the agent. Text reference used to identify the agent in the console.
- SecurityGroup []stringArns 
- The ARNs of the security group used to protect your data transfer task subnets.
- SubnetArns []string
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- VpcEndpoint stringId 
- The ID of the VPC endpoint that the agent has access to.
- activationKey String
- Activation key of the Agent.
- agentName String
- The name configured for the agent. Text reference used to identify the agent in the console.
- securityGroup List<String>Arns 
- The ARNs of the security group used to protect your data transfer task subnets.
- subnetArns List<String>
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- vpcEndpoint StringId 
- The ID of the VPC endpoint that the agent has access to.
- activationKey string
- Activation key of the Agent.
- agentName string
- The name configured for the agent. Text reference used to identify the agent in the console.
- securityGroup string[]Arns 
- The ARNs of the security group used to protect your data transfer task subnets.
- subnetArns string[]
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- Tag[]
- An array of key-value pairs to apply to this resource.
- vpcEndpoint stringId 
- The ID of the VPC endpoint that the agent has access to.
- activation_key str
- Activation key of the Agent.
- agent_name str
- The name configured for the agent. Text reference used to identify the agent in the console.
- security_group_ Sequence[str]arns 
- The ARNs of the security group used to protect your data transfer task subnets.
- subnet_arns Sequence[str]
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- vpc_endpoint_ strid 
- The ID of the VPC endpoint that the agent has access to.
- activationKey String
- Activation key of the Agent.
- agentName String
- The name configured for the agent. Text reference used to identify the agent in the console.
- securityGroup List<String>Arns 
- The ARNs of the security group used to protect your data transfer task subnets.
- subnetArns List<String>
- The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- vpcEndpoint StringId 
- The ID of the VPC endpoint that the agent has access to.
Outputs
All input properties are implicitly available as output properties. Additionally, the Agent resource produces the following output properties:
- AgentArn string
- The DataSync Agent ARN.
- EndpointType Pulumi.Aws Native. Data Sync. Agent Endpoint Type 
- The service endpoints that the agent will connect to.
- Id string
- The provider-assigned unique ID for this managed resource.
- AgentArn string
- The DataSync Agent ARN.
- EndpointType AgentEndpoint Type 
- The service endpoints that the agent will connect to.
- Id string
- The provider-assigned unique ID for this managed resource.
- agentArn String
- The DataSync Agent ARN.
- endpointType AgentEndpoint Type 
- The service endpoints that the agent will connect to.
- id String
- The provider-assigned unique ID for this managed resource.
- agentArn string
- The DataSync Agent ARN.
- endpointType AgentEndpoint Type 
- The service endpoints that the agent will connect to.
- id string
- The provider-assigned unique ID for this managed resource.
- agent_arn str
- The DataSync Agent ARN.
- endpoint_type AgentEndpoint Type 
- The service endpoints that the agent will connect to.
- id str
- The provider-assigned unique ID for this managed resource.
- agentArn String
- The DataSync Agent ARN.
- endpointType "FIPS" | "PUBLIC" | "PRIVATE_LINK"
- The service endpoints that the agent will connect to.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
AgentEndpointType, AgentEndpointTypeArgs      
- Fips
- FIPS
- Public
- PUBLIC
- PrivateLink 
- PRIVATE_LINK
- AgentEndpoint Type Fips 
- FIPS
- AgentEndpoint Type Public 
- PUBLIC
- AgentEndpoint Type Private Link 
- PRIVATE_LINK
- Fips
- FIPS
- Public
- PUBLIC
- PrivateLink 
- PRIVATE_LINK
- Fips
- FIPS
- Public
- PUBLIC
- PrivateLink 
- PRIVATE_LINK
- FIPS
- FIPS
- PUBLIC
- PUBLIC
- PRIVATE_LINK
- PRIVATE_LINK
- "FIPS"
- FIPS
- "PUBLIC"
- PUBLIC
- "PRIVATE_LINK"
- PRIVATE_LINK
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.