Struct aws_sdk_transfer::model::HomeDirectoryMapEntry
source · [−]#[non_exhaustive]pub struct HomeDirectoryMapEntry {
pub entry: Option<String>,
pub target: Option<String>,
}
Expand 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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entry: Option<String>
Represents an entry for HomeDirectoryMappings
.
target: Option<String>
Represents the map target that is used in a HomeDirectorymapEntry
.
Implementations
Creates a new builder-style object to manufacture HomeDirectoryMapEntry
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HomeDirectoryMapEntry
impl Send for HomeDirectoryMapEntry
impl Sync for HomeDirectoryMapEntry
impl Unpin for HomeDirectoryMapEntry
impl UnwindSafe for HomeDirectoryMapEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more