View a markdown version of this page

ðŸ“Ē āđāļˆāđ‰āļ‡āđ€āļ•āļ·āļ­āļ™: config/latest/developerguide/cognito user pool password policy check.html - āļ›āļĢāļ°āđ€āļ”āđ‡āļ™āļĢāđ‰āļ­āļ™

cognito-user-pool-password-policy-check

Checks if the password policy for Amazon cognito user pool meets the specified requirements indicated in the parameters. The rule is NON_COMPLIANT if the user pool password policy does not meet the specified requirements.

Identifier: COGNITO_USER_POOL_PASSWORD_POLICY_CHECK

Resource Types: AWS::Cognito::UserPool

Trigger type: Configuration changes

AWS Region: All supported AWS regions except China (Beijing), AWS GovCloud (US-East), AWS GovCloud (US-West), China (Ningxia) Region

Parameters:

minLength (Optional)
Type: int
Default: 8

Minimum length required for user pool password. Valid values are 6 to 99.

requireLowercase (Optional)
Type: boolean
Default: True

Whether to require at least one lowercase letter in password.

requireNumbers (Optional)
Type: boolean
Default: True

Whether to require at least one number in password.

requireSymbols (Optional)
Type: boolean
Default: True

Whether to require at least one symbol in password.

requireUppercase (Optional)
Type: boolean
Default: True

Whether to require at least one uppercase letter in password.

temporaryPasswordValidity (Optional)
Type: int
Default: 7

Number of days a temporary password remains valid. Valid values are 1 to 365.

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.