Package com.pulumi.aws.transfer.inputs
Class AccessState.Builder
- java.lang.Object
-
- com.pulumi.aws.transfer.inputs.AccessState.Builder
-
- Enclosing class:
- AccessState
public static final class AccessState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AccessState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessStatebuild()AccessState.BuilderexternalId(com.pulumi.core.Output<java.lang.String> externalId)AccessState.BuilderexternalId(java.lang.String externalId)AccessState.BuilderhomeDirectory(com.pulumi.core.Output<java.lang.String> homeDirectory)AccessState.BuilderhomeDirectory(java.lang.String homeDirectory)AccessState.BuilderhomeDirectoryMappings(AccessHomeDirectoryMappingArgs... homeDirectoryMappings)AccessState.BuilderhomeDirectoryMappings(com.pulumi.core.Output<java.util.List<AccessHomeDirectoryMappingArgs>> homeDirectoryMappings)AccessState.BuilderhomeDirectoryMappings(java.util.List<AccessHomeDirectoryMappingArgs> homeDirectoryMappings)AccessState.BuilderhomeDirectoryType(com.pulumi.core.Output<java.lang.String> homeDirectoryType)AccessState.BuilderhomeDirectoryType(java.lang.String homeDirectoryType)AccessState.Builderpolicy(com.pulumi.core.Output<java.lang.String> policy)AccessState.Builderpolicy(java.lang.String policy)AccessState.BuilderposixProfile(AccessPosixProfileArgs posixProfile)AccessState.BuilderposixProfile(com.pulumi.core.Output<AccessPosixProfileArgs> posixProfile)AccessState.Builderregion(com.pulumi.core.Output<java.lang.String> region)AccessState.Builderregion(java.lang.String region)AccessState.Builderrole(com.pulumi.core.Output<java.lang.String> role)AccessState.Builderrole(java.lang.String role)AccessState.BuilderserverId(com.pulumi.core.Output<java.lang.String> serverId)AccessState.BuilderserverId(java.lang.String serverId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccessState defaults)
-
-
Method Detail
-
externalId
public AccessState.Builder externalId(@Nullable com.pulumi.core.Output<java.lang.String> externalId)
- Parameters:
externalId- SID of a group in the directory connected to the Transfer Server (e.g., `S-1-1-12-1234567890-123456789-1234567890-1234`)- Returns:
- builder
-
externalId
public AccessState.Builder externalId(java.lang.String externalId)
- Parameters:
externalId- SID of a group in the directory connected to the Transfer Server (e.g., `S-1-1-12-1234567890-123456789-1234567890-1234`)- Returns:
- builder
-
homeDirectory
public AccessState.Builder homeDirectory(@Nullable com.pulumi.core.Output<java.lang.String> homeDirectory)
- Parameters:
homeDirectory- Landing directory (folder) for a user when they log in to the server using their SFTP client. It should begin with a `/`. The first item in the path is the name of the home bucket (accessible as `${Transfer:HomeBucket}` in the policy) and the rest is the home directory (accessible as `${Transfer:HomeDirectory}` in the policy). For example, `/example-bucket-1234/username` would set the home bucket to `example-bucket-1234` and the home directory to `username`.- Returns:
- builder
-
homeDirectory
public AccessState.Builder homeDirectory(java.lang.String homeDirectory)
- Parameters:
homeDirectory- Landing directory (folder) for a user when they log in to the server using their SFTP client. It should begin with a `/`. The first item in the path is the name of the home bucket (accessible as `${Transfer:HomeBucket}` in the policy) and the rest is the home directory (accessible as `${Transfer:HomeDirectory}` in the policy). For example, `/example-bucket-1234/username` would set the home bucket to `example-bucket-1234` and the home directory to `username`.- Returns:
- builder
-
homeDirectoryMappings
public AccessState.Builder homeDirectoryMappings(@Nullable com.pulumi.core.Output<java.util.List<AccessHomeDirectoryMappingArgs>> homeDirectoryMappings)
- Parameters:
homeDirectoryMappings- Logical directory mappings that specify what S3 paths and keys should be visible to your user and how you want to make them visible. See `homeDirectoryMappings` Block below.- Returns:
- builder
-
homeDirectoryMappings
public AccessState.Builder homeDirectoryMappings(java.util.List<AccessHomeDirectoryMappingArgs> homeDirectoryMappings)
- Parameters:
homeDirectoryMappings- Logical directory mappings that specify what S3 paths and keys should be visible to your user and how you want to make them visible. See `homeDirectoryMappings` Block below.- Returns:
- builder
-
homeDirectoryMappings
public AccessState.Builder homeDirectoryMappings(AccessHomeDirectoryMappingArgs... homeDirectoryMappings)
- Parameters:
homeDirectoryMappings- Logical directory mappings that specify what S3 paths and keys should be visible to your user and how you want to make them visible. See `homeDirectoryMappings` Block below.- Returns:
- builder
-
homeDirectoryType
public AccessState.Builder homeDirectoryType(@Nullable com.pulumi.core.Output<java.lang.String> homeDirectoryType)
- Parameters:
homeDirectoryType- Type of landing directory (folder) you mapped for your users' home directory. Valid values are `PATH` and `LOGICAL`.- Returns:
- builder
-
homeDirectoryType
public AccessState.Builder homeDirectoryType(java.lang.String homeDirectoryType)
- Parameters:
homeDirectoryType- Type of landing directory (folder) you mapped for your users' home directory. Valid values are `PATH` and `LOGICAL`.- Returns:
- builder
-
policy
public AccessState.Builder policy(@Nullable com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy- IAM JSON policy document that scopes down user access to portions of their Amazon S3 bucket. IAM variables you can use inside this policy include `${Transfer:UserName}`, `${Transfer:HomeDirectory}`, and `${Transfer:HomeBucket}`. These are evaluated on-the-fly when navigating the bucket.- Returns:
- builder
-
policy
public AccessState.Builder policy(java.lang.String policy)
- Parameters:
policy- IAM JSON policy document that scopes down user access to portions of their Amazon S3 bucket. IAM variables you can use inside this policy include `${Transfer:UserName}`, `${Transfer:HomeDirectory}`, and `${Transfer:HomeBucket}`. These are evaluated on-the-fly when navigating the bucket.- Returns:
- builder
-
posixProfile
public AccessState.Builder posixProfile(@Nullable com.pulumi.core.Output<AccessPosixProfileArgs> posixProfile)
- Parameters:
posixProfile- Full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon EFS file systems. See `posixProfile` Block below.- Returns:
- builder
-
posixProfile
public AccessState.Builder posixProfile(AccessPosixProfileArgs posixProfile)
- Parameters:
posixProfile- Full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon EFS file systems. See `posixProfile` Block below.- Returns:
- builder
-
region
public AccessState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public AccessState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
role
public AccessState.Builder role(@Nullable com.pulumi.core.Output<java.lang.String> role)
- Parameters:
role- ARN of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket.- Returns:
- builder
-
role
public AccessState.Builder role(java.lang.String role)
- Parameters:
role- ARN of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket.- Returns:
- builder
-
serverId
public AccessState.Builder serverId(@Nullable com.pulumi.core.Output<java.lang.String> serverId)
- Parameters:
serverId- Server ID of the Transfer Server (e.g., `s-12345678`)- Returns:
- builder
-
serverId
public AccessState.Builder serverId(java.lang.String serverId)
- Parameters:
serverId- Server ID of the Transfer Server (e.g., `s-12345678`)- Returns:
- builder
-
build
public AccessState build()
-
-