This template creates a new OAuth2.0 resource server in a Cognito user pool. It defines custom scopes in the resource server.

CloudFormation Template