Does AWS Cognito have an option to disable user pool ?
When i look at the AWS Console i don’t see anything like this, despite this I have found this in the documentation as a property of user pool.
UserPoolDescriptionType:
Status
The user pool status in a user pool description.
Type: String
Valid Values: Enabled | Disabled
Required: No
Documentation:
Java SDK:
2
Answers
You can delete the user pool, or you can delete all of the clients for the user pool, but there is no option to disable it. You can find all of the actions that are available here.
Not a direct answer but may be you can update the user pool to only have Administrator created users. https://docs.amazonaws.cn/en_us/cognito/latest/developerguide/user-pool-settings-admin-create-user-policy.html