Class CfnLocationNFSProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.datasync.CfnLocationNFSProps.Jsii$Proxy
All Implemented Interfaces:
CfnLocationNFSProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnLocationNFSProps

@Stability(Stable) @Internal public static final class CfnLocationNFSProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLocationNFSProps
An implementation for CfnLocationNFSProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.datasync.CfnLocationNFSProps

    CfnLocationNFSProps.Builder, CfnLocationNFSProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnLocationNFSProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Object
    The NFS mount options that DataSync can use to mount your NFS share.
    final Object
    Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.
    final String
    The name of the NFS server.
    final String
    The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
    final List<CfnTag>
    The key-value pair that represents the tag that you want to add to the location.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnLocationNFSProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnLocationNFSProps.Builder.
  • Method Details

    • getOnPremConfig

      public final Object getOnPremConfig()
      Description copied from interface: CfnLocationNFSProps
      Contains a list of Amazon Resource Names (ARNs) of agents that are used to connect to an NFS server.

      If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

      Specified by:
      getOnPremConfig in interface CfnLocationNFSProps
    • getMountOptions

      public final Object getMountOptions()
      Description copied from interface: CfnLocationNFSProps
      The NFS mount options that DataSync can use to mount your NFS share.
      Specified by:
      getMountOptions in interface CfnLocationNFSProps
    • getServerHostname

      public final String getServerHostname()
      Description copied from interface: CfnLocationNFSProps
      The name of the NFS server.

      This value is the IP address or Domain Name Service (DNS) name of the NFS server. An agent that is installed on-premises uses this hostname to mount the NFS server in a network.

      If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

      This name must either be DNS-compliant or must be an IP version 4 (IPv4) address.

      Specified by:
      getServerHostname in interface CfnLocationNFSProps
    • getSubdirectory

      public final String getSubdirectory()
      Description copied from interface: CfnLocationNFSProps
      The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.

      The NFS path should be a path that's exported by the NFS server, or a subdirectory of that path. The path should be such that it can be mounted by other NFS clients in your network.

      To see all the paths exported by your NFS server, run " showmount -e nfs-server-name " from an NFS client that has access to your server. You can specify any directory that appears in the results, and any subdirectory of that directory. Ensure that the NFS export is accessible without Kerberos authentication.

      To transfer all the data in the folder you specified, DataSync needs to have permissions to read all the data. To ensure this, either configure the NFS export with no_root_squash, or ensure that the permissions for all of the files that you want DataSync allow read access for all users. Doing either enables the agent to read the files. For the agent to access directories, you must additionally enable all execute access.

      If you are copying data to or from your AWS Snowcone device, see NFS Server on AWS Snowcone for more information.

      For information about NFS export configuration, see 18.7. The /etc/exports Configuration File in the Red Hat Enterprise Linux documentation.

      Specified by:
      getSubdirectory in interface CfnLocationNFSProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnLocationNFSProps
      The key-value pair that represents the tag that you want to add to the location.

      The value can be an empty string. We recommend using tags to name your resources.

      Specified by:
      getTags in interface CfnLocationNFSProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object