Interface CfnLocationEFS.IEc2ConfigProperty
The subnet and security groups that AWS DataSync uses to access your Amazon EFS file system.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEc2ConfigProperty
Syntax (vb)
Public Interface IEc2ConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var ec2ConfigProperty = new Ec2ConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArn = "subnetArn"
};
Synopsis
Properties
SecurityGroupArns | Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target. |
SubnetArn | Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer. |
Properties
SecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.
string[] SecurityGroupArns { get; }
Property Value
System.String[]
Remarks
SubnetArn
Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.
string SubnetArn { get; }
Property Value
System.String
Remarks
The subnet must be located:
You don't need to specify a subnet that includes a file system mount target.