UserPoolAdminCreateUserConfigArgs

data class UserPoolAdminCreateUserConfigArgs(val allowAdminCreateUserOnly: Output<Boolean>? = null, val inviteMessageTemplate: Output<UserPoolInviteMessageTemplateArgs>? = null, val unusedAccountValidityDays: Output<Int>? = null) : ConvertibleToJava<UserPoolAdminCreateUserConfigArgs>

Constructors

Link copied to clipboard
constructor(allowAdminCreateUserOnly: Output<Boolean>? = null, inviteMessageTemplate: Output<UserPoolInviteMessageTemplateArgs>? = null, unusedAccountValidityDays: Output<Int>? = null)

Properties

Link copied to clipboard
val allowAdminCreateUserOnly: Output<Boolean>? = null

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 message template to be used for the welcome message to new users. See also Customizing User Invitation Messages .

Link copied to clipboard
val unusedAccountValidityDays: Output<Int>? = null

This parameter is no longer in use. Configure the duration of temporary passwords with the TemporaryPasswordValidityDays parameter of PasswordPolicyType . For older user pools that have a UnusedAccountValidityDays configuration, that value is effective until you set a value for TemporaryPasswordValidityDays . 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.

Functions

Link copied to clipboard
open override fun toJava(): UserPoolAdminCreateUserConfigArgs