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 pulumi
import pulumi_aws_native as aws_native
agent = aws_native.datasync.Agent("agent",
activation_key="AAAAA-7AAAA-GG7MC-3I9R3-27COD",
agent_name="MyAgent")
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",
});
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 pulumi
import pulumi_aws_native as aws_native
agent = aws_native.datasync.Agent("agent",
activation_key="AAAAA-7AAAA-GG7MC-3I9R3-27COD",
agent_name="MyAgent")
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",
});
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:
- Activation
Key string - Activation key of the Agent.
- Agent
Name string - The name configured for the agent. Text reference used to identify the agent in the console.
- Security
Group List<string>Arns - The ARNs of the security group used to protect your data transfer task subnets.
- Subnet
Arns 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.
- Vpc
Endpoint stringId - The ID of the VPC endpoint that the agent has access to.
- Activation
Key string - Activation key of the Agent.
- Agent
Name string - The name configured for the agent. Text reference used to identify the agent in the console.
- Security
Group []stringArns - The ARNs of the security group used to protect your data transfer task subnets.
- Subnet
Arns []string - The ARNs of the subnets in which DataSync will create elastic network interfaces for each data transfer task.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Vpc
Endpoint stringId - The ID of the VPC endpoint that the agent has access to.
- activation
Key String - Activation key of the Agent.
- agent
Name String - The name configured for the agent. Text reference used to identify the agent in the console.
- security
Group List<String>Arns - The ARNs of the security group used to protect your data transfer task subnets.
- subnet
Arns 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.
- vpc
Endpoint StringId - The ID of the VPC endpoint that the agent has access to.
- activation
Key string - Activation key of the Agent.
- agent
Name string - The name configured for the agent. Text reference used to identify the agent in the console.
- security
Group string[]Arns - The ARNs of the security group used to protect your data transfer task subnets.
- subnet
Arns 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.
- vpc
Endpoint 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[Tag
Args] - 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.
- activation
Key String - Activation key of the Agent.
- agent
Name String - The name configured for the agent. Text reference used to identify the agent in the console.
- security
Group List<String>Arns - The ARNs of the security group used to protect your data transfer task subnets.
- subnet
Arns 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.
- vpc
Endpoint 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:
- Agent
Arn string - The DataSync Agent ARN.
- Endpoint
Type 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.
- Agent
Arn string - The DataSync Agent ARN.
- Endpoint
Type AgentEndpoint Type - The service endpoints that the agent will connect to.
- Id string
- The provider-assigned unique ID for this managed resource.
- agent
Arn String - The DataSync Agent ARN.
- endpoint
Type AgentEndpoint Type - The service endpoints that the agent will connect to.
- id String
- The provider-assigned unique ID for this managed resource.
- agent
Arn string - The DataSync Agent ARN.
- endpoint
Type 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.
- agent
Arn String - The DataSync Agent ARN.
- endpoint
Type "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
- Private
Link - PRIVATE_LINK
- Agent
Endpoint Type Fips - FIPS
- Agent
Endpoint Type Public - PUBLIC
- Agent
Endpoint Type Private Link - PRIVATE_LINK
- Fips
- FIPS
- Public
- PUBLIC
- Private
Link - PRIVATE_LINK
- Fips
- FIPS
- Public
- PUBLIC
- Private
Link - 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.