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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/efs/latest/ug/accessing-fs.html

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 '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.

<note markdown=“1”> You don’t need to specify a subnet that includes a file system mount target.

</note>

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

Returns:

  • (String)


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

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