@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:19.573Z") @Stability(value=Stable) public interface CfnUserProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.role("role")
.serverId("serverId")
.userName("userName")
// the properties below are optional
.homeDirectory("homeDirectory")
.homeDirectoryMappings(List.of(HomeDirectoryMapEntryProperty.builder()
.entry("entry")
.target("target")
.build()))
.homeDirectoryType("homeDirectoryType")
.policy("policy")
.posixProfile(PosixProfileProperty.builder()
.gid(123)
.uid(123)
// the properties below are optional
.secondaryGids(List.of(123))
.build())
.sshPublicKeys(List.of("sshPublicKeys"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUserProps.Builder
A builder for
CfnUserProps |
static class |
CfnUserProps.Jsii$Proxy
An implementation for
CfnUserProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnUserProps.Builder |
builder() |
default String |
getHomeDirectory()
`AWS::Transfer::User.HomeDirectory`.
|
default Object |
getHomeDirectoryMappings()
`AWS::Transfer::User.HomeDirectoryMappings`.
|
default String |
getHomeDirectoryType()
`AWS::Transfer::User.HomeDirectoryType`.
|
default String |
getPolicy()
`AWS::Transfer::User.Policy`.
|
default Object |
getPosixProfile()
`AWS::Transfer::User.PosixProfile`.
|
String |
getRole()
`AWS::Transfer::User.Role`.
|
String |
getServerId()
`AWS::Transfer::User.ServerId`.
|
default List<String> |
getSshPublicKeys()
`AWS::Transfer::User.SshPublicKeys`.
|
default List<CfnTag> |
getTags()
`AWS::Transfer::User.Tags`.
|
String |
getUserName()
`AWS::Transfer::User.UserName`.
|
@Stability(value=Stable) @Nullable default String getHomeDirectory()
@Stability(value=Stable) @Nullable default Object getHomeDirectoryMappings()
@Stability(value=Stable) @Nullable default String getHomeDirectoryType()
@Stability(value=Stable) @Nullable default String getPolicy()
@Stability(value=Stable) @Nullable default Object getPosixProfile()
@Stability(value=Stable) @NotNull String getRole()
@Stability(value=Stable) @NotNull String getServerId()
@Stability(value=Stable) @Nullable default List<String> getSshPublicKeys()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @NotNull String getUserName()
@Stability(value=Stable) static CfnUserProps.Builder builder()
CfnUserProps.Builder of CfnUserPropsCopyright © 2021. All rights reserved.