Class: Aws::DataSync::Types::Ec2Config

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

Overview

The subnet and security groups that DataSync uses to connect to one of your Amazon EFS file system's mount targets.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_arnsArray<String>

Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.

Returns:

  • (Array<String>)


3219
3220
3221
3222
3223
3224
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3219

class Ec2Config < Struct.new(
  :subnet_arn,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_arnString

Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.

The subnet must be located:

  • In the same virtual private cloud (VPC) as the Amazon EFS file system.

  • In the same Availability Zone as at least one mount target for the Amazon EFS file system.

You don't need to specify a subnet that includes a file system mount target.

Returns:

  • (String)


3219
3220
3221
3222
3223
3224
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 3219

class Ec2Config < Struct.new(
  :subnet_arn,
  :security_group_arns)
  SENSITIVE = []
  include Aws::Structure
end