v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1444219188.6 KB

Creates an endpoint for an Amazon EFS file system that DataSync can access for a transfer. For more information, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html">Creating a location for Amazon EFS</a>.

post/#X-Amz-Target=FmrsService.CreateLocationEfs

Headers

X-Amz-Target'FmrsService.CreateLocationEfs' required

Request body

Subdirectorystring
<p>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.</p> <note> <p>You must specify a value with forward slashes (for example, <code>/path/to/folder</code>).</p> </note>
EfsFilesystemArnstring required

Specifies the ARN for the Amazon EFS file system.

AccessPointArnstring

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

FileSystemAccessRoleArnstring

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

InTransitEncryption'NONE' | 'TLS1_2'
<p>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.</p> <p>If you specify an access point using <code>AccessPointArn</code> or an IAM role using <code>FileSystemAccessRoleArn</code>, you must set this parameter to <code>TLS1_2</code>.</p>

Response

Success

LocationArnstring

The Amazon Resource Name (ARN) of the Amazon EFS file system location that you create.