interface HomeDirectoryMapEntryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Transfer.CfnUser.HomeDirectoryMapEntryProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awstransfer#CfnUser_HomeDirectoryMapEntryProperty |
Java | software.amazon.awscdk.services.transfer.CfnUser.HomeDirectoryMapEntryProperty |
Python | aws_cdk.aws_transfer.CfnUser.HomeDirectoryMapEntryProperty |
TypeScript | aws-cdk-lib » aws_transfer » CfnUser » HomeDirectoryMapEntryProperty |
Represents an object that contains entries and targets for HomeDirectoryMappings .
Example
// 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
| Name | Type | Description |
|---|---|---|
| entry | string | Represents an entry for HomeDirectoryMappings . |
| target | string | Represents the map target that is used in a HomeDirectoryMapEntry . |
| type? | string | Specifies the type of mapping. |
entry
Type:
string
Represents an entry for HomeDirectoryMappings .
target
Type:
string
Represents the map target that is used in a HomeDirectoryMapEntry .
type?
Type:
string
(optional)
Specifies the type of mapping.
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.

.NET
Go
Java
Python
TypeScript