Cognito user pool limits.

10/09/2023

Amazon Cognito is a service provided by AWS that allows you to create and manage user directories, also known as user pools, for your applications. Each user pool has certain limits and quotas to ensure reliable performance. Here are some common limits for Amazon Cognito user pools:

  1. User Pool Limit per AWS Account:
    • By default, each AWS account can have up to 60 user pools per region.
  2. User Pool Size:
    • Each user pool can have a maximum of 100,000 users.
  3. Custom Attributes:
    • You can have up to 50 custom attributes per user pool.
  4. User Pool App Clients:
    • A user pool can have a maximum of 20 client applications associated with it.
  5. Groups:
    • A user pool can have up to 1,500 groups.
  6. Identity Providers (IdPs):
    • You can configure up to 50 identity providers (e.g., Facebook, Google, etc.) per user pool.
  7. Triggers:
    • You can create up to 10 triggers (e.g., pre-signup, pre-authentication, etc.) per user pool.
  8. MFA Configuration:
    • You can enable MFA (Multi-Factor Authentication) for up to 15 different MFA configurations per user pool.
  9. Device Memory Usage:
    • For each device, Cognito maintains a 5MB memory for tracking tokens, which may limit the number of concurrent devices for a single user.
  10. Tokens per Request:
    • There's a limit to the number of tokens that can be requested per request (varies depending on the token type).
  11. User Pool Name Length:
    • The name of a user pool can be up to 128 characters in length.
  12. Username Attributes:
    • You can configure one or more attributes to be used as the username for sign-in. By default, it's set to Username, but it can be customized.
  13. User Account Status:
    • A user account can have one of three statuses: FORCE_CHANGE_PASSWORD, CONFIRMED, or RESET_REQUIRED.

Please note that these limits are based on information available up until September 2021. AWS may update these limits in the future, so it's always a good idea to refer to the latest AWS documentation for the most current information.

If you need to request a limit increase for any of these resources, you can do so through the AWS Service Quotas console or by contacting AWS Support. Keep in mind that limit increases are subject to approval and may take some time to process.

Comments

No posts found

Write a review