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.



888
889
890
891
892
893
894
895
896
# File 'lib/aws-sdk-datasync/types.rb', line 888

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:



888
889
890
891
892
893
894
895
896
# File 'lib/aws-sdk-datasync/types.rb', line 888

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)


888
889
890
891
892
893
894
895
896
# File 'lib/aws-sdk-datasync/types.rb', line 888

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)


888
889
890
891
892
893
894
895
896
# File 'lib/aws-sdk-datasync/types.rb', line 888

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:



888
889
890
891
892
893
894
895
896
# File 'lib/aws-sdk-datasync/types.rb', line 888

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