Interface CfnUser.IHomeDirectoryMapEntryProperty
Represents an object that contains entries and targets for HomeDirectoryMappings
.
Namespace: Amazon.CDK.AWS.Transfer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IHomeDirectoryMapEntryProperty
Syntax (vb)
Public Interface 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
Properties
Entry | Represents an entry for |
Target | Represents the map target that is used in a |
Type | Specifies the type of mapping. |
Properties
Entry
Represents an entry for HomeDirectoryMappings
.
string Entry { get; }
Property Value
System.String
Remarks
Target
Represents the map target that is used in a HomeDirectoryMapEntry
.
string Target { get; }
Property Value
System.String
Remarks
Type
Specifies the type of mapping.
virtual string Type { get; }
Property Value
System.String
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 Type
of DIRECTORY
when you create a Transfer Family server. You would need to explicitly set Type
to FILE
if you want a mapping to have a file target.