@Stability(value=Stable) public static final class CfnLocationEFS.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationEFS>
CfnLocationEFS.| Modifier and Type | Method and Description |
|---|---|
CfnLocationEFS.Builder |
accessPointArn(String accessPointArn)
`AWS::DataSync::LocationEFS.AccessPointArn`.
|
CfnLocationEFS |
build() |
static CfnLocationEFS.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLocationEFS.Builder |
ec2Config(CfnLocationEFS.Ec2ConfigProperty ec2Config)
The subnet and security group that the Amazon EFS file system uses.
|
CfnLocationEFS.Builder |
ec2Config(IResolvable ec2Config)
The subnet and security group that the Amazon EFS file system uses.
|
CfnLocationEFS.Builder |
efsFilesystemArn(String efsFilesystemArn)
The Amazon Resource Name (ARN) for the Amazon EFS file system.
|
CfnLocationEFS.Builder |
fileSystemAccessRoleArn(String fileSystemAccessRoleArn)
`AWS::DataSync::LocationEFS.FileSystemAccessRoleArn`.
|
CfnLocationEFS.Builder |
inTransitEncryption(String inTransitEncryption)
`AWS::DataSync::LocationEFS.InTransitEncryption`.
|
CfnLocationEFS.Builder |
subdirectory(String subdirectory)
A subdirectory in the location’s path.
|
CfnLocationEFS.Builder |
tags(List<? extends CfnTag> tags)
The key-value pair that represents a tag that you want to add to the resource.
|
@Stability(value=Stable) public static CfnLocationEFS.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLocationEFS.Ec2ConfigProperty.Builder.@Stability(value=Stable) public CfnLocationEFS.Builder ec2Config(CfnLocationEFS.Ec2ConfigProperty ec2Config)
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.
ec2Config - The subnet and security group that the Amazon EFS file system uses. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder ec2Config(IResolvable ec2Config)
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.
ec2Config - The subnet and security group that the Amazon EFS file system uses. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder efsFilesystemArn(String efsFilesystemArn)
efsFilesystemArn - The Amazon Resource Name (ARN) for the Amazon EFS file system. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder accessPointArn(String accessPointArn)
accessPointArn - `AWS::DataSync::LocationEFS.AccessPointArn`. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn)
fileSystemAccessRoleArn - `AWS::DataSync::LocationEFS.FileSystemAccessRoleArn`. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder inTransitEncryption(String inTransitEncryption)
inTransitEncryption - `AWS::DataSync::LocationEFS.InTransitEncryption`. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder subdirectory(String subdirectory)
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.
subdirectory - A subdirectory in the location’s path. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Builder tags(List<? extends CfnTag> tags)
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.
tags - The key-value pair that represents a tag that you want to add to the resource. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS build()
build in interface software.amazon.jsii.Builder<CfnLocationEFS>Copyright © 2022. All rights reserved.