Class: Aws::Transfer::Types::HomeDirectoryMapEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::Transfer::Types::HomeDirectoryMapEntry
- 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
-
#entry ⇒ String
Represents an entry for ‘HomeDirectoryMappings`.
-
#target ⇒ String
Represents the map target that is used in a ‘HomeDirectoryMapEntry`.
-
#type ⇒ String
Specifies the type of mapping.
Instance Attribute Details
#entry ⇒ String
Represents an entry for ‘HomeDirectoryMappings`.
3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-transfer/types.rb', line 3282 class HomeDirectoryMapEntry < Struct.new( :entry, :target, :type) SENSITIVE = [] include Aws::Structure end |
#target ⇒ String
Represents the map target that is used in a ‘HomeDirectoryMapEntry`.
3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-transfer/types.rb', line 3282 class HomeDirectoryMapEntry < Struct.new( :entry, :target, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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>
3282 3283 3284 3285 3286 3287 3288 |
# File 'lib/aws-sdk-transfer/types.rb', line 3282 class HomeDirectoryMapEntry < Struct.new( :entry, :target, :type) SENSITIVE = [] include Aws::Structure end |