

# 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\$1COMPLIANT if the user pool password policy does not meet the specified requirements. 



**Identifier:** COGNITO\$1USER\$1POOL\$1PASSWORD\$1POLICY\$1CHECK

**Resource Types:** AWS::Cognito::UserPool

**Trigger type:** Configuration changes

**AWS Region:** All supported AWS regions except Asia Pacific (New Zealand), China (Beijing), Asia Pacific (Thailand), Asia Pacific (Malaysia), AWS GovCloud (US-East), AWS GovCloud (US-West), Mexico (Central), Asia Pacific (Taipei), China (Ningxia) Region

**Parameters:**

requireSymbols (Optional)Type: booleanDefault: True  
Whether to require at least one symbol in password.

temporaryPasswordValidity (Optional)Type: intDefault: 7  
Number of days a temporary password remains valid. Valid values are 1 to 365.

minLength (Optional)Type: intDefault: 8  
Minimum length required for user pool password. Valid values are 5 to 128.

requireNumbers (Optional)Type: booleanDefault: True  
Whether to require at least one number in password.

requireUppercase (Optional)Type: booleanDefault: True  
Whether to require at least one uppercase letter in password.

requireLowercase (Optional)Type: booleanDefault: True  
Whether to require at least one lowercase letter in password.

## AWS CloudFormation template


To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).