Interface CfnLocationEFS.Ec2ConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationEFS.Ec2ConfigProperty.Jsii$Proxy
- Enclosing class:
CfnLocationEFS
@Stability(Stable)
public static interface CfnLocationEFS.Ec2ConfigProperty
extends software.amazon.jsii.JsiiSerializable
The subnet and security groups that AWS DataSync uses to access your Amazon EFS file system.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.datasync.*; Ec2ConfigProperty ec2ConfigProperty = Ec2ConfigProperty.builder() .securityGroupArns(List.of("securityGroupArns")) .subnetArn("subnetArn") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationEFS.Ec2ConfigProperty
static final class
An implementation forCfnLocationEFS.Ec2ConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroupArns
Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.- See Also:
-
getSubnetArn
Specifies the ARN of a subnet where DataSync creates the network interfaces for managing traffic during your transfer.The subnet must be located:
- In the same virtual private cloud (VPC) as the Amazon EFS file system.
- In the same Availability Zone as at least one mount target for the Amazon EFS file system.
You don't need to specify a subnet that includes a file system mount target.
- See Also:
-
builder
-