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
- Struct
- Aws::DataSync::Types::Ec2Config
- Defined in:
- (unknown)
Overview
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
-
#security_group_arns ⇒ Array<String>
The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
-
#subnet_arn ⇒ String
The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.
Instance Attribute Details
#security_group_arns ⇒ Array<String>
The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.
#subnet_arn ⇒ String
The ARN of the subnet and the security group that DataSync uses to access the target EFS file system.