Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PasswordPolicyType

import type { PasswordPolicyType } from "https://aws-api.deno.dev/v0.4/services/cognitoidentityserviceprovider.ts?docs=full";

The password policy type.

interface PasswordPolicyType {
MinimumLength?: number | null;
RequireLowercase?: boolean | null;
RequireNumbers?: boolean | null;
RequireSymbols?: boolean | null;
RequireUppercase?: boolean | null;
TemporaryPasswordValidityDays?: number | null;
}

§Properties

§
MinimumLength?: number | null
[src]

The minimum length of the password in the policy that you have set. This value can't be less than 6.

§
RequireLowercase?: boolean | null
[src]

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.

§
RequireNumbers?: boolean | null
[src]

In the password policy that you have set, refers to whether you have required users to use at least one number in their password.

§
RequireSymbols?: boolean | null
[src]

In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.

§
RequireUppercase?: boolean | null
[src]

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.

§
TemporaryPasswordValidityDays?: number | null
[src]

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.