@Stability(value=Stable) public static final class CfnLocationEFSProps.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationEFSProps>
CfnLocationEFSProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLocationEFSProps.Builder ec2Config(CfnLocationEFS.Ec2ConfigProperty ec2Config)
CfnLocationEFSProps.getEc2Config()ec2Config - The subnet and security group that the Amazon EFS file system uses. This parameter is required.
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.
this@Stability(value=Stable) public CfnLocationEFSProps.Builder ec2Config(IResolvable ec2Config)
CfnLocationEFSProps.getEc2Config()ec2Config - The subnet and security group that the Amazon EFS file system uses. This parameter is required.
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.
this@Stability(value=Stable) public CfnLocationEFSProps.Builder efsFilesystemArn(String efsFilesystemArn)
CfnLocationEFSProps.getEfsFilesystemArn()efsFilesystemArn - The Amazon Resource Name (ARN) for the Amazon EFS file system. This parameter is required.this@Stability(value=Stable) public CfnLocationEFSProps.Builder accessPointArn(String accessPointArn)
CfnLocationEFSProps.getAccessPointArn()accessPointArn - `AWS::DataSync::LocationEFS.AccessPointArn`.this@Stability(value=Stable) public CfnLocationEFSProps.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn)
CfnLocationEFSProps.getFileSystemAccessRoleArn()fileSystemAccessRoleArn - `AWS::DataSync::LocationEFS.FileSystemAccessRoleArn`.this@Stability(value=Stable) public CfnLocationEFSProps.Builder inTransitEncryption(String inTransitEncryption)
CfnLocationEFSProps.getInTransitEncryption()inTransitEncryption - `AWS::DataSync::LocationEFS.InTransitEncryption`.this@Stability(value=Stable) public CfnLocationEFSProps.Builder subdirectory(String subdirectory)
CfnLocationEFSProps.getSubdirectory()subdirectory - A subdirectory in the location’s path.
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.
this@Stability(value=Stable) public CfnLocationEFSProps.Builder tags(List<? extends CfnTag> tags)
CfnLocationEFSProps.getTags()tags - The key-value pair that represents a tag that you want to add to the resource.
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.this@Stability(value=Stable) public CfnLocationEFSProps build()
build in interface software.amazon.jsii.Builder<CfnLocationEFSProps>CfnLocationEFSPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.