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.



930
931
932
933
934
935
936
937
938
# File 'lib/aws-sdk-datasync/types.rb', line 930

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 can connect to your NFS file server.

You can specify more than one agent. For more information, see [Using multiple DataSync agents].

[1]: docs.aws.amazon.com/datasync/latest/userguide/do-i-need-datasync-agent.html#multiple-agents

Returns:



930
931
932
933
934
935
936
937
938
# File 'lib/aws-sdk-datasync/types.rb', line 930

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)


930
931
932
933
934
935
936
937
938
# File 'lib/aws-sdk-datasync/types.rb', line 930

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)


930
931
932
933
934
935
936
937
938
# File 'lib/aws-sdk-datasync/types.rb', line 930

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:



930
931
932
933
934
935
936
937
938
# File 'lib/aws-sdk-datasync/types.rb', line 930

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