HomeDirectoryMapEntry - AWS Transfer Family

HomeDirectoryMapEntry

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" } ]

Contents

Entry

Represents an entry for HomeDirectoryMappings.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: /.*

Required: Yes

Target

Represents the map target that is used in a HomeDirectoryMapEntry.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Pattern: /.*

Required: Yes

Type

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

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.

Type: String

Valid Values: FILE | DIRECTORY

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: