AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::Transfer::Types::HomeDirectoryMapEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb

Overview

Note:

When making an API call, you may pass HomeDirectoryMapEntry data as a hash:

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

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entryString

Represents an entry for HomeDirectoryMappings.

Returns:

  • (String)


2080
2081
2082
2083
2084
2085
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 2080

class HomeDirectoryMapEntry < Struct.new(
  :entry,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

Represents the map target that is used in a HomeDirectorymapEntry.

Returns:

  • (String)


2080
2081
2082
2083
2084
2085
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 2080

class HomeDirectoryMapEntry < Struct.new(
  :entry,
  :target)
  SENSITIVE = []
  include Aws::Structure
end