class Aws::CognitoIdentityProvider::Types::PasswordPolicyType

The password policy type.

@note When making an API call, you may pass PasswordPolicyType

data as a hash:

    {
      minimum_length: 1,
      require_uppercase: false,
      require_lowercase: false,
      require_numbers: false,
      require_symbols: false,
      temporary_password_validity_days: 1,
    }

@!attribute [rw] minimum_length

The minimum length of the password policy that you have set. Cannot
be less than 6.
@return [Integer]

@!attribute [rw] require_uppercase

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.
@return [Boolean]

@!attribute [rw] require_lowercase

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.
@return [Boolean]

@!attribute [rw] require_numbers

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

@!attribute [rw] require_symbols

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

@!attribute [rw] temporary_password_validity_days

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.

<note markdown="1"> When you set `TemporaryPasswordValidityDays` for a user pool, you
will no longer be able to set the deprecated
`UnusedAccountValidityDays` value for that user pool.

 </note>
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/PasswordPolicyType AWS API Documentation

Constants

SENSITIVE