User constructor
Creates a new User.
name The Pulumi resource name.
args Arguments used to configure this User. The set of arguments for User.
options Resource options controlling this resource's behavior.
Implementation
User(
String name, {
UserArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:transfer/user:User',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
homeDirectory = registerOutput<String?>('homeDirectory');
homeDirectoryMappings = registerOutput<List<UserHomeDirectoryMapping>?>('homeDirectoryMappings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<UserHomeDirectoryMapping>(guardedValue, (value) => UserHomeDirectoryMapping.fromMap((value as Map).cast<String, dynamic>())); });
homeDirectoryType = registerOutput<String?>('homeDirectoryType');
policy = registerOutput<String?>('policy');
posixProfile = registerOutput<UserPosixProfile?>('posixProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return UserPosixProfile.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
role = registerOutput<String>('role');
serverId = registerOutput<String>('serverId');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
userName = registerOutput<String>('userName');
}