'Cognito Group Limitations

Is there a limit to how many users can belong to a single group in AWS Cognito User Pools?

I did not see a limit specified in the Quotas in Amazon Cognito Developer Guide but I read a blog post that claims there is a limit of 1k users per group. It also said that there is a limit of 1k groups per account, which is incorrect, so I don't trust it.

My application has an internal RBAC system so I was thinking of just assigning all users to the same group. Currently each user that gets created also creates a group to which they are the only member. The IAM roles and groups getting created for each group have identical IAM policies(authorization is handled by the application's internal RBAC) but I need to know if this will scale.

If there is a limit on users per group that is lower than the limit on users per pool I can design around that, but I won't if the main bottleneck is users per user pool.



Solution 1:[1]

You can find the limits and quotas on Cognito Quotas page

Resource Quota Adjustable
Users per user pool 40,000,000 Yes
Groups per user pool 10,000 No

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dumi