Skip to content

/AWS1/CL_DSY=>CREATELOCATIONNFS()

About CreateLocationNfs

Creates a transfer location for a Network File System (NFS) file server. DataSync can use this location as a source or destination for transferring data.

Before you begin, make sure that you understand how DataSync accesses NFS file servers.

If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs to create your transfer location. For more information, see Configuring transfers with Snowcone.

Method Signature

IMPORTING

Required arguments:

IV_SUBDIRECTORY TYPE /AWS1/DSYNFSSUBDIRECTORY /AWS1/DSYNFSSUBDIRECTORY

Specifies the export path in your NFS file server that you want DataSync to mount.

This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.

IV_SERVERHOSTNAME TYPE /AWS1/DSYSERVERHOSTNAME /AWS1/DSYSERVERHOSTNAME

Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.

IO_ONPREMCONFIG TYPE REF TO /AWS1/CL_DSYONPREMCONFIG /AWS1/CL_DSYONPREMCONFIG

Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.

You can specify more than one agent. For more information, see Using multiple agents for transfers.

Optional arguments:

IO_MOUNTOPTIONS TYPE REF TO /AWS1/CL_DSYNFSMOUNTOPTIONS /AWS1/CL_DSYNFSMOUNTOPTIONS

Specifies the options that DataSync can use to mount your NFS file server.

IT_TAGS TYPE /AWS1/CL_DSYTAGLISTENTRY=>TT_INPUTTAGLIST TT_INPUTTAGLIST

Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DSYCREATELOCNFSRSP /AWS1/CL_DSYCREATELOCNFSRSP