Class: Aws::DataSync::Types::CreateLocationNfsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-datasync/types.rb

Overview

CreateLocationNfsRequest

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#mount_optionsTypes::NfsMountOptions

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



908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-datasync/types.rb', line 908

class CreateLocationNfsRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :on_prem_config,
  :mount_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#on_prem_configTypes::OnPremConfig

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].

[1]: docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html

Returns:



908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-datasync/types.rb', line 908

class CreateLocationNfsRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :on_prem_config,
  :mount_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#server_hostnameString

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

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-datasync/types.rb', line 908

class CreateLocationNfsRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :on_prem_config,
  :mount_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#subdirectoryString

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].

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-datasync/types.rb', line 908

class CreateLocationNfsRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :on_prem_config,
  :mount_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagListEntry>

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.

Returns:



908
909
910
911
912
913
914
915
916
# File 'lib/aws-sdk-datasync/types.rb', line 908

class CreateLocationNfsRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :on_prem_config,
  :mount_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end