Class: Aws::Transfer::Types::HomeDirectoryMapEntry

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

Overview

Represents an object that contains entries and targets for ‘HomeDirectoryMappings`.

The following is an ‘Entry` and `Target` pair example for `chroot`.

‘[ { “Entry”: “/”, “Target”: “/bucket_name/home/mydirectory” } ]`

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entryString

Represents an entry for ‘HomeDirectoryMappings`.

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'lib/aws-sdk-transfer/types.rb', line 3239

class HomeDirectoryMapEntry < Struct.new(
  :entry,
  :target,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

Represents the map target that is used in a ‘HomeDirectoryMapEntry`.

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'lib/aws-sdk-transfer/types.rb', line 3239

class HomeDirectoryMapEntry < Struct.new(
  :entry,
  :target,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Specifies the type of mapping. Set the type to ‘FILE` if you want the mapping to point to a file, or `DIRECTORY` for the directory to point to a directory.

<note markdown=“1”> By default, home directory mappings have a ‘Type` of `DIRECTORY` when you create a Transfer Family server. You would need to explicitly set `Type` to `FILE` if you want a mapping to have a file target.

</note>

Returns:

  • (String)


3239
3240
3241
3242
3243
3244
3245
# File 'lib/aws-sdk-transfer/types.rb', line 3239

class HomeDirectoryMapEntry < Struct.new(
  :entry,
  :target,
  :type)
  SENSITIVE = []
  include Aws::Structure
end