Class: Aws::DataSync::Types::CreateAgentRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

CreateAgentRequest

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activation_keyString

Specifies your DataSync agent’s activation key. If you don’t have an activation key, see [Activate your agent].

[1]: docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#agent_nameString

Specifies a name for your agent. You can see this name in the DataSync console.



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_arnsArray<String>

Specifies the Amazon Resource Name (ARN) of the security group that protects your task’s [network interfaces] when [using a virtual private cloud (VPC) endpoint]. You can only specify one ARN.

[1]: docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces [2]: docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_arnsArray<String>

Specifies the ARN of the subnet where you want to run your DataSync task when using a VPC endpoint. This is the subnet where DataSync creates and manages the [network interfaces] for your transfer. You can only specify one ARN.

[1]: docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagListEntry>

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least one tag for your agent.



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_endpoint_idString

Specifies the ID of the VPC endpoint that you want your agent to connect to. For example, a VPC endpoint ID looks like ‘vpce-01234d5aff67890e1`.

The VPC endpoint you use must include the DataSync service name (for example, ‘com.amazonaws.us-east-2.datasync`).



271
272
273
274
275
276
277
278
279
280
# File 'lib/aws-sdk-datasync/types.rb', line 271

class CreateAgentRequest < Struct.new(
  :activation_key,
  :agent_name,
  :tags,
  :vpc_endpoint_id,
  :subnet_arns,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end