Skip to content

User

Source: src/AWS/Transfer/User.ts

A user of an AWS Transfer Family server (service-managed identity provider). Users are free configuration objects attached to a Server; the server itself is what incurs hourly cost.

const user = yield* User("Alice", {
serverId: server.serverId,
userName: "alice",
role: transferRole.roleArn,
homeDirectory: "/my-bucket/alice",
sshPublicKeyBody: "ssh-ed25519 AAAA...",
});