This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Transfer::User 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" } ]
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
Properties
Entry-
Represents an entry for
HomeDirectoryMappings.Required: Yes
Type: String
Pattern:
^/.*$Minimum:
0Maximum:
1024Update requires: No interruption
Target-
Represents the map target that is used in a
HomeDirectoryMapEntry.Required: Yes
Type: String
Pattern:
^/.*$Minimum:
0Maximum:
1024Update requires: No interruption
Type-
Specifies the type of mapping. Set the type to
FILEif you want the mapping to point to a file, orDIRECTORYfor the directory to point to a directory.Note
By default, home directory mappings have a
TypeofDIRECTORYwhen you create a Transfer Family server. You would need to explicitly setTypetoFILEif you want a mapping to have a file target.Required: No
Type: String
Allowed values:
FILE | DIRECTORYUpdate requires: No interruption