Skip to content

/AWS1/CL_DSY=>CREATELOCATIONEFS()

About CreateLocationEfs

Creates a transfer location for an Amazon EFS file system. DataSync can use this location as a source or destination for transferring data.

Before you begin, make sure that you understand how DataSync accesses Amazon EFS file systems.

Method Signature

IMPORTING

Required arguments:

IV_EFSFILESYSTEMARN TYPE /AWS1/DSYEFSFILESYSTEMARN /AWS1/DSYEFSFILESYSTEMARN

Specifies the ARN for the Amazon EFS file system.

IO_EC2CONFIG TYPE REF TO /AWS1/CL_DSYEC2CONFIG /AWS1/CL_DSYEC2CONFIG

Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.

Optional arguments:

IV_SUBDIRECTORY TYPE /AWS1/DSYEFSSUBDIRECTORY /AWS1/DSYEFSSUBDIRECTORY

Specifies a mount path for your Amazon EFS file system. This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.

You must specify a value with forward slashes (for example, /path/to/folder).

IT_TAGS TYPE /AWS1/CL_DSYTAGLISTENTRY=>TT_INPUTTAGLIST TT_INPUTTAGLIST

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.

IV_ACCESSPOINTARN TYPE /AWS1/DSYEFSACCESSPOINTARN /AWS1/DSYEFSACCESSPOINTARN

Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.

IV_FILESYSTEMACCESSROLEARN TYPE /AWS1/DSYIAMROLEARN /AWS1/DSYIAMROLEARN

Specifies an Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.

IV_INTRANSITENCRYPTION TYPE /AWS1/DSYEFSINTRANSITENC /AWS1/DSYEFSINTRANSITENC

Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.

If you specify an access point using AccessPointArn or an IAM role using FileSystemAccessRoleArn, you must set this parameter to TLS1_2.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DSYCREATELOCEFSRSP /AWS1/CL_DSYCREATELOCEFSRSP