Class CfnUser.HomeDirectoryMapEntryProperty
Represents an object that contains entries and targets for HomeDirectoryMappings .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUser.HomeDirectoryMapEntryProperty : CfnUser.IHomeDirectoryMapEntryProperty
Syntax (vb)
Public Class CfnUser.HomeDirectoryMapEntryProperty Implements CfnUser.IHomeDirectoryMapEntryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;
var homeDirectoryMapEntryProperty = new HomeDirectoryMapEntryProperty {
Entry = "entry",
Target = "target",
// the properties below are optional
Type = "type"
};
Synopsis
Constructors
| HomeDirectoryMapEntryProperty() | Represents an object that contains entries and targets for |
Properties
| Entry | Represents an entry for |
| Target | Represents the map target that is used in a |
| Type | Specifies the type of mapping. |
Constructors
HomeDirectoryMapEntryProperty()
Represents an object that contains entries and targets for HomeDirectoryMappings .
public HomeDirectoryMapEntryProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Transfer;
var homeDirectoryMapEntryProperty = new HomeDirectoryMapEntryProperty {
Entry = "entry",
Target = "target",
// the properties below are optional
Type = "type"
};
Properties
Entry
Represents an entry for HomeDirectoryMappings .
public string Entry { get; set; }
Property Value
Remarks
Target
Represents the map target that is used in a HomeDirectoryMapEntry .
public string Target { get; set; }
Property Value
Remarks
Type
Specifies the type of mapping.
public string? Type { get; set; }
Property Value
Remarks
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 <code>Type</code> of <code>DIRECTORY</code> when you create a Transfer Family server. You would need to explicitly set <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.