NAME
Paws::Transfer::HomeDirectoryMapEntry
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Transfer::HomeDirectoryMapEntry object:
$service_obj->Method(Att1 => { Entry => $value, ..., Target => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Transfer::HomeDirectoryMapEntry object:
$result = $service_obj->Method(...);
$result->Att1->Entry
DESCRIPTION
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" } ]
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.
ATTRIBUTES
REQUIRED Entry => Str
Represents an entry for HomeDirectoryMappings
.
REQUIRED Target => Str
Represents the map target that is used in a HomeDirectorymapEntry
.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Transfer
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues