class Aws::CognitoIdentityProvider::Types::AdminCreateUserConfigType
The configuration for creating a new user profile.
@note When making an API call, you may pass AdminCreateUserConfigType
data as a hash: { allow_admin_create_user_only: false, unused_account_validity_days: 1, invite_message_template: { sms_message: "SmsVerificationMessageType", email_message: "EmailVerificationMessageType", email_subject: "EmailVerificationSubjectType", }, }
@!attribute [rw] allow_admin_create_user_only
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. @return [Boolean]
@!attribute [rw] unused_account_validity_days
The user account expiration limit, in days, after which the account 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 markdown="1"> If you set a value for `TemporaryPasswordValidityDays` in `PasswordPolicy`, that value will be used and `UnusedAccountValidityDays` will be deprecated for that user pool. </note> @return [Integer]
@!attribute [rw] invite_message_template
The message template to be used for the welcome message to new users. See also [Customizing User Invitation Messages][1]. [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-message-customizations.html#cognito-user-pool-settings-user-invitation-message-customization @return [Types::MessageTemplateType]
@see docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUserConfigType AWS API Documentation
Constants
- SENSITIVE