UserPoolAdminCreateUserConfig

data class UserPoolAdminCreateUserConfig(val allowAdminCreateUserOnly: Boolean? = null, val inviteMessageTemplate: UserPoolInviteMessageTemplate? = null, val unusedAccountValidityDays: Int? = null)

Constructors

Link copied to clipboard
constructor(allowAdminCreateUserOnly: Boolean? = null, inviteMessageTemplate: UserPoolInviteMessageTemplate? = null, unusedAccountValidityDays: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The setting for allowing self-service sign-up. When true , only administrators can create new user profiles. When false , users can register themselves and create a new user profile with the SignUp operation.

Link copied to clipboard

The template for the welcome message to new users. This template must include the {####} temporary password placeholder if you are creating users with passwords. If your users don't have passwords, you can omit the placeholder. See also Customizing User Invitation Messages .

Link copied to clipboard

This parameter is no longer in use. The password expiration limit in days for administrator-created users. When this time expires, the user can't sign in with their temporary password. 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.