HomeDirectoryMapEntryProperty Struct
Represents an object that contains entries and targets for HomeDirectoryMappings .
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_transfer as transfer
home_directory_map_entry_property = transfer.CfnUser.HomeDirectoryMapEntryProperty(
entry="entry",
target="target",
# the properties below are optional
type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
HomeDirectoryMapEntryProperty homeDirectoryMapEntryProperty = HomeDirectoryMapEntryProperty.builder()
.entry("entry")
.target("target")
// the properties below are optional
.type("type")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
homeDirectoryMapEntryProperty := &HomeDirectoryMapEntryProperty{
Entry: jsii.String("entry"),
Target: jsii.String("target"),
// the properties below are optional
Type: jsii.String("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.