You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Ec2Config as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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

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

#subnet_arnString

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

Returns:

  • (String)

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