public static interface CfnLocationEFS.Ec2ConfigProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLocationEFS.Ec2ConfigProperty.Builder
A builder for
CfnLocationEFS.Ec2ConfigProperty |
static class |
CfnLocationEFS.Ec2ConfigProperty.Jsii$Proxy
An implementation for
CfnLocationEFS.Ec2ConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLocationEFS.Ec2ConfigProperty.Builder |
builder() |
java.util.List<java.lang.String> |
getSecurityGroupArns()
Specifies the Amazon Resource Names (ARNs) of the security groups associated with an Amazon EFS file system's mount target.
|
java.lang.String |
getSubnetArn()
Specifies the ARN of a subnet where DataSync creates the [network interfaces](https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) for managing traffic during your transfer.
|
java.util.List<java.lang.String> getSecurityGroupArns()
java.lang.String getSubnetArn()
The subnet must be located:
You don't need to specify a subnet that includes a file system mount target.
static CfnLocationEFS.Ec2ConfigProperty.Builder builder()