Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data HomeDirectoryMapEntry Source #
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.
See: newHomeDirectoryMapEntry
smart constructor.
Instances
newHomeDirectoryMapEntry Source #
:: Text | |
-> Text | |
-> HomeDirectoryMapEntry |
Create a value of HomeDirectoryMapEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:entry:HomeDirectoryMapEntry'
, homeDirectoryMapEntry_entry
- Represents an entry for HomeDirectoryMappings
.
$sel:target:HomeDirectoryMapEntry'
, homeDirectoryMapEntry_target
- Represents the map target that is used in a HomeDirectorymapEntry
.
homeDirectoryMapEntry_entry :: Lens' HomeDirectoryMapEntry Text Source #
Represents an entry for HomeDirectoryMappings
.
homeDirectoryMapEntry_target :: Lens' HomeDirectoryMapEntry Text Source #
Represents the map target that is used in a HomeDirectorymapEntry
.