Class: Aws::DataSync::Types::CreateLocationSmbRequest

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

Overview

CreateLocationSmbRequest

Constant Summary collapse

SENSITIVE =
[:password]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_arnsArray<String>

Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

Returns:

  • (Array<String>)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#domainString

Specifies the Windows domain name that your SMB file server belongs to.

For more information, see [required permissions] for SMB locations.

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions

Returns:

  • (String)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#mount_optionsTypes::SmbMountOptions

Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.



1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#passwordString

Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.

For more information, see [required permissions] for SMB locations.

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions

Returns:

  • (String)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#server_hostnameString

Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.

<note markdown=“1”> You can’t specify an IP version 6 (IPv6) address.

</note>

Returns:

  • (String)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#subdirectoryString

Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, ‘/path/to/subdirectory`). Make sure that other SMB clients in your network can also mount this path.

To copy all data in the specified subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see [required permissions] for SMB locations.

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions

Returns:

  • (String)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  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:



1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end

#userString

Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.

For information about choosing a user with the right level of access for your transfer, see [required permissions] for SMB locations.

[1]: docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions

Returns:

  • (String)


1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
# File 'lib/aws-sdk-datasync/types.rb', line 1186

class CreateLocationSmbRequest < Struct.new(
  :subdirectory,
  :server_hostname,
  :user,
  :domain,
  :password,
  :agent_arns,
  :mount_options,
  :tags)
  SENSITIVE = [:password]
  include Aws::Structure
end