AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DataSync::Types::NfsMountOptions

  • Object
show all
Defined in:



When passing NfsMountOptions as input to an Aws::Client method, you can use a vanilla Hash:

  version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1

Represents the mount options that are available for DataSync to access an NFS location.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don\'t specify a version, DataSync defaults to AUTOMATIC. That is, DataSync automatically selects a version based on negotiation with the NFS server.

You can specify the following NFS versions:

  • NFSv3 - stateless protocol version that allows for asynchronous writes on the server.

  • NFSv4.0 - stateful, firewall-friendly protocol version that supports delegations and pseudo filesystems.

  • NFSv4.1 - stateful protocol version that supports sessions, directory delegations, and parallel data processing. Version 4.1 also includes all features available in version 4.0.

    Possible values:

    • NFS3
    • NFS4_0
    • NFS4_1


  • (String)

    The specific NFS version that you want DataSync to use to mount your NFS share.