Group whitelist with AWSCognito

Started using AWSCognito as the Authentication[1] mechanism with Jupyterhub. Before this we were using PAMAuthenticator, in which we can use the group whitelist feature[2].
Is there a group whitelist available to use with AWSCognito?
I see there are some implementation for [gitlab and github](Started using AWSCognito as the Authentication[1] mechanism with Jupyterhub. Before this we were using PAMAuthenticator, in which we can use the group whitelist feature[2]. Is there a group whitelist available to use with AWSCognito? I see there are some implementation for gitlab and github

[1] https://github.com/jupyterhub/oauthenticator/blob/397a3ec6b489635ceb70cfd40059d8ee55bddd6d/docs/source/getting-started.rst#aws-cognito-setup
[2] https://jupyterhub.readthedocs.io/en/stable/api/auth.html#jupyterhub.auth.PAMAuthenticator.group_whitelist