Create a Cognito User Pool with User, App Client, Domain and Resource Server
This pattern deploys an Amazon Cognito User Pool with its associated User, App Client, Domain and Resource Server.
You can use the tokens provided upon successful authentication with your User Pool to, for example, access a REST API protected with a Cognito User Pool authorizer.