AccessArgs constructor
- required Input<
String> externalId, - Input<
String?> ? homeDirectory, - Input<
List< ? homeDirectoryMappings,AccessHomeDirectoryMapping> ?> - Input<
String?> ? homeDirectoryType, - Input<
String?> ? policy, - Input<
AccessPosixProfile?> ? posixProfile, - Input<
String?> ? region, - Input<
String?> ? role, - required Input<
String> serverId,
Creates a new AccessArgs.
externalId SID of a group in the directory connected to the Transfer Server (e.g., S-1-1-12-1234567890-123456789-1234567890-1234)
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.
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.
homeDirectoryType Type of landing directory (folder) you mapped for your users' home directory. Valid values are PATH and LOGICAL.
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.
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.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
role ARN of an IAM role that allows the service to controls your user’s access to your Amazon S3 bucket.
serverId Server ID of the Transfer Server (e.g., s-12345678)
Implementation
const AccessArgs({
required this.externalId,
this.homeDirectory,
this.homeDirectoryMappings,
this.homeDirectoryType,
this.policy,
this.posixProfile,
this.region,
this.role,
required this.serverId,
});