@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.864Z") @Stability(value=Stable) public interface CfnLocationEFSProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnLocationEFSProps cfnLocationEFSProps = CfnLocationEFSProps.builder()
.ec2Config(Ec2ConfigProperty.builder()
.securityGroupArns(List.of("securityGroupArns"))
.subnetArn("subnetArn")
.build())
.efsFilesystemArn("efsFilesystemArn")
// the properties below are optional
.accessPointArn("accessPointArn")
.fileSystemAccessRoleArn("fileSystemAccessRoleArn")
.inTransitEncryption("inTransitEncryption")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLocationEFSProps.Builder
A builder for
CfnLocationEFSProps |
static class |
CfnLocationEFSProps.Jsii$Proxy
An implementation for
CfnLocationEFSProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLocationEFSProps.Builder |
builder() |
default String |
getAccessPointArn()
`AWS::DataSync::LocationEFS.AccessPointArn`.
|
Object |
getEc2Config()
The subnet and security group that the Amazon EFS file system uses.
|
String |
getEfsFilesystemArn()
The Amazon Resource Name (ARN) for the Amazon EFS file system.
|
default String |
getFileSystemAccessRoleArn()
`AWS::DataSync::LocationEFS.FileSystemAccessRoleArn`.
|
default String |
getInTransitEncryption()
`AWS::DataSync::LocationEFS.InTransitEncryption`.
|
default String |
getSubdirectory()
A subdirectory in the location’s path.
|
default List<CfnTag> |
getTags()
The key-value pair that represents a tag that you want to add to the resource.
|
@Stability(value=Stable) @NotNull Object getEc2Config()
The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.
The exact relationship between security group M (of the mount target) and security group S (which you provide for DataSync to use at this stage) is as follows:
For information about security groups and mount targets, see Security Groups for Amazon EC2 Instances and Mount Targets in the Amazon EFS User Guide.
@Stability(value=Stable) @NotNull String getEfsFilesystemArn()
@Stability(value=Stable) @Nullable default String getAccessPointArn()
@Stability(value=Stable) @Nullable default String getFileSystemAccessRoleArn()
@Stability(value=Stable) @Nullable default String getInTransitEncryption()
@Stability(value=Stable) @Nullable default String getSubdirectory()
This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination. By default, AWS DataSync uses the root directory.
Subdirectorymust be specified with forward slashes. For example,/path/to/folder.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
@Stability(value=Stable) static CfnLocationEFSProps.Builder builder()
CfnLocationEFSProps.Builder of CfnLocationEFSPropsCopyright © 2022. All rights reserved.