UserPoolPasswordPolicy

data class UserPoolPasswordPolicy(val minimumLength: Int? = null, val passwordHistorySize: Int? = null, val requireLowercase: Boolean? = null, val requireNumbers: Boolean? = null, val requireSymbols: Boolean? = null, val requireUppercase: Boolean? = null, val temporaryPasswordValidityDays: Int? = null)

Constructors

Link copied to clipboard
constructor(minimumLength: Int? = null, passwordHistorySize: Int? = null, requireLowercase: Boolean? = null, requireNumbers: Boolean? = null, requireSymbols: Boolean? = null, requireUppercase: Boolean? = null, temporaryPasswordValidityDays: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val minimumLength: Int? = null

Minimum length of the password policy that you have set.

Link copied to clipboard

Number of previous passwords that you want Amazon Cognito to restrict each user from reusing. Users can't set a password that matches any of number of previous passwords specified by this argument. A value of 0 means that password history is not enforced. Valid values are between 0 and 24. Note: This argument requires advanced security features to be active in the user pool.

Link copied to clipboard

Whether you have required users to use at least one lowercase letter in their password.

Link copied to clipboard
val requireNumbers: Boolean? = null

Whether you have required users to use at least one number in their password.

Link copied to clipboard
val requireSymbols: Boolean? = null

Whether you have required users to use at least one symbol in their password.

Link copied to clipboard

Whether you have required users to use at least one uppercase letter in their password.

Link copied to clipboard

In the password policy you have set, refers to the number of days a temporary password is valid. If the user does not sign-in during this time, their password will need to be reset by an administrator.