class Aws::Transfer::Types::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” } ]`

<note markdown=“1”> If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the `s3api` or `efsapi` call instead of `s3` or `efs` so you can use the put-object operation. For example, you use the following: `aws s3api put-object –bucket bucketname –key path/to/folder/`. Make sure that the end of the key name ends in a `/` for it to be considered a folder.

</note>

@note When making an API call, you may pass HomeDirectoryMapEntry

data as a hash:

    {
      entry: "MapEntry", # required
      target: "MapTarget", # required
    }

@!attribute [rw] entry

Represents an entry for `HomeDirectoryMappings`.
@return [String]

@!attribute [rw] target

Represents the map target that is used in a `HomeDirectorymapEntry`.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/HomeDirectoryMapEntry AWS API Documentation

Constants

SENSITIVE