HomeDirectoryMapEntryProperty Struct
Represents an object that contains entries and targets for HomeDirectoryMappings .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as transfer } from 'aws-cdk-lib';
const homeDirectoryMapEntryProperty: transfer.CfnUser.HomeDirectoryMapEntryProperty = {
entry: 'entry',
target: 'target',
// the properties below are optional
type: 'type',
};
Properties
Represents an entry for `HomeDirectoryMappings` .
Represents the map target that is used in a `HomeDirectoryMapEntry` .
Specifies the type of mapping.
notes
Set the type to FILE if you want the mapping to point to a file, or DIRECTORY for the directory to point to a directory.
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.