CreateUser
Source:
src/AWS/IdentityCenter/CreateUser.ts
Runtime binding for the CreateUser operation (IAM action
identitystore:CreateUser), scoped to one Instance.
Creates a user in the bound instance’s identity store — e.g. a just-in-time provisioning Lambda mirroring users from an external HR system. The instance’s
IdentityStoreId is injected from the binding. Provide the implementation with
Effect.provide(AWS.IdentityCenter.CreateUserHttp).
Managing Users
Section titled “Managing Users”// init — bind the operation to the Identity Center instanceconst createUser = yield* AWS.IdentityCenter.CreateUser(instance);
// runtimeconst { UserId } = yield* createUser({ UserName: "jdoe", DisplayName: "Jane Doe", Name: { GivenName: "Jane", FamilyName: "Doe" }, Emails: [{ Value: "jdoe@example.com", Primary: true }],});