class Aws::DataSync::Types::Ec2Config

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.

@note When making an API call, you may pass Ec2Config

data as a hash:

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

@!attribute [rw] subnet_arn

The ARN of the subnet and the security group that DataSync uses to
access the target EFS file system.
@return [String]

@!attribute [rw] security_group_arns

The Amazon Resource Names (ARNs) of the security groups that are
configured for the Amazon EC2 resource.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Ec2Config AWS API Documentation

Constants

SENSITIVE