skip to Main Content

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:

https://docs.amazonaws.cn/en_us/cognito-user-identity-pools/latest/APIReference/API_UserPoolDescriptionType.html

Java SDK:

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cognito-identity-provider/interfaces/userpooldescriptiontype.html#status

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search