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

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

Overview

Note:

When making an API call, you may pass Ec2Config data as a hash:

{
  subnet_arn: "Ec2SubnetArn", # required
  security_group_arns: ["Ec2SecurityGroupArn"], # required
}

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


2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2558

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)


2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 2558

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