Amazon Cognito Identity Provider
API Reference (API Version 2016-04-18)

PasswordPolicyType

The password policy type.

Contents

MinimumLength

The minimum length of the password policy that you have set. Cannot be less than 6.

Type: Integer

Valid Range: Minimum value of 6. Maximum value of 99.

Required: No

RequireLowercase

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.

Type: Boolean

Required: No

RequireNumbers

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

Type: Boolean

Required: No

RequireSymbols

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

Type: Boolean

Required: No

RequireUppercase

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.

Type: Boolean

Required: No

TemporaryPasswordValidityDays

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

When you set TemporaryPasswordValidityDays for a user pool, you will no longer be able to set the deprecated UnusedAccountValidityDays value for that user pool.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 365.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: