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 the security group that DataSync uses to access target EFS file system. The subnet must have at least one mount target for that file system. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#security_group_arnsArray<String>

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

Returns:

  • (Array<String>)


1805
1806
1807
1808
1809
1810
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1805

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

#subnet_arnString

The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.

Returns:

  • (String)


1805
1806
1807
1808
1809
1810
# File 'gems/aws-sdk-datasync/lib/aws-sdk-datasync/types.rb', line 1805

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