PasswordPolicyType
import type { PasswordPolicyType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";
The password policy type.
§Properties
The minimum length of the password in the policy that you have set. This value can't be less than 6.
In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
The number of days a temporary password is valid in the password policy. If the user doesn't sign in during this time, an administrator must reset their password.
Note:
When you set TemporaryPasswordValidityDays
for a user pool, you can no longer set a value for the legacy UnusedAccountValidityDays
parameter in that user pool.