CmdID / aws / aws datasync
aws datasync create-location-nfs
Creates a transfer location for a Network File System (NFS) file server. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--mount-optionsSpecifies the options that DataSync can use to mount your NFS file server.--on-prem-configSpecifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.--server-hostnameSpecifies the DNS name or IP address (IPv4 or IPv6) of the NFS file server that your DataSync agent connects to.--subdirectorySpecifies the export path in your NFS file server that you want DataSync to mount.--tagsSpecifies labels that help you categorize, filter, and search for your Amazon Web Services resources.