Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AdminCreateUserConfigType

import type { AdminCreateUserConfigType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";

The configuration for creating a new user profile.

interface AdminCreateUserConfigType {
AllowAdminCreateUserOnly?: boolean | null;
InviteMessageTemplate?: MessageTemplateType | null;
UnusedAccountValidityDays?: number | null;
}

§Properties

§
AllowAdminCreateUserOnly?: boolean | null
[src]

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

§
InviteMessageTemplate?: MessageTemplateType | null
[src]

The message template to be used for the welcome message to new users.

See also Customizing User Invitation Messages.

§
UnusedAccountValidityDays?: number | null
[src]

The user account expiration limit, in days, after which a new account that hasn't signed in is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7.

Note: If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used, and UnusedAccountValidityDays will be no longer be an available parameter for that user pool.