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 access your Amazon EFS file system.

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>)


3005
3006
3007
3008
3009
3010
# File 'lib/aws-sdk-datasync/types.rb', line 3005

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)


3005
3006
3007
3008
3009
3010
# File 'lib/aws-sdk-datasync/types.rb', line 3005

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