Class CfnLocationEFSPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationEFSPropsMixin>
- Enclosing class:
CfnLocationEFSPropsMixin
CfnLocationEFSPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn(String accessPointArn) Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system.build()create()create(CfnPropertyMixinOptions options) Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets .ec2Config(IResolvable ec2Config) Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets .efsFilesystemArn(String efsFilesystemArn) Specifies the ARN for your Amazon EFS file system.efsFilesystemArn(IFileSystemRef efsFilesystemArn) Specifies the ARN for your Amazon EFS file system.fileSystemAccessRoleArn(String fileSystemAccessRoleArn) Specifies an AWS Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.inTransitEncryption(String inTransitEncryption) Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.subdirectory(String subdirectory) Specifies a mount path for your Amazon EFS file system.Specifies the key-value pair that represents a tag that you want to add to the resource.
-
Method Details
-
create
@Stability(Stable) public static CfnLocationEFSPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLocationEFSPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLocationEFSPropsMixin.Builder.
-
accessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system.For more information, see Accessing restricted file systems .
- Parameters:
accessPointArn- Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to mount your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
ec2Config
Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets .- Parameters:
ec2Config- Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets . This parameter is required.- Returns:
this- See Also:
-
ec2Config
@Stability(Stable) public CfnLocationEFSPropsMixin.Builder ec2Config(CfnLocationEFSPropsMixin.Ec2ConfigProperty ec2Config) Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets .- Parameters:
ec2Config- Specifies the subnet and security groups DataSync uses to connect to one of your Amazon EFS file system's mount targets . This parameter is required.- Returns:
this- See Also:
-
efsFilesystemArn
@Stability(Stable) public CfnLocationEFSPropsMixin.Builder efsFilesystemArn(String efsFilesystemArn) Specifies the ARN for your Amazon EFS file system.- Parameters:
efsFilesystemArn- Specifies the ARN for your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
efsFilesystemArn
@Stability(Stable) public CfnLocationEFSPropsMixin.Builder efsFilesystemArn(IFileSystemRef efsFilesystemArn) Specifies the ARN for your Amazon EFS file system.- Parameters:
efsFilesystemArn- Specifies the ARN for your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
fileSystemAccessRoleArn
@Stability(Stable) public CfnLocationEFSPropsMixin.Builder fileSystemAccessRoleArn(String fileSystemAccessRoleArn) Specifies an AWS Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system.For information on creating this role, see Creating a DataSync IAM role for file system access .
- Parameters:
fileSystemAccessRoleArn- Specifies an AWS Identity and Access Management (IAM) role that allows DataSync to access your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
inTransitEncryption
@Stability(Stable) public CfnLocationEFSPropsMixin.Builder inTransitEncryption(String inTransitEncryption) Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system.If you specify an access point using
AccessPointArnor an IAM role usingFileSystemAccessRoleArn, you must set this parameter toTLS1_2.- Parameters:
inTransitEncryption- Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it transfers data to or from your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
subdirectory
Specifies a mount path for your Amazon EFS file system.This is where DataSync reads or writes data on your file system (depending on if this is a source or destination location).
By default, DataSync uses the root directory (or access point if you provide one by using
AccessPointArn). You can also include subdirectories using forward slashes (for example,/path/to/folder).- Parameters:
subdirectory- Specifies a mount path for your Amazon EFS file system. This parameter is required.- Returns:
this- See Also:
-
tags
Specifies 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.
- Parameters:
tags- Specifies the key-value pair that represents a tag that you want to add to the resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationEFSPropsMixin>- Returns:
- a newly built instance of
CfnLocationEFSPropsMixin.
-