In this section, let's have a look at how to provision a Cognito user pool. The code blocks in this section will reside in a file called cognito.yml, which will be referenced in the serverless.yml file:
Resources: CognitoUserPoolUserPool: Type: "AWS::Cognito::UserPool" Properties: UserPoolName: ${self:service}-user-pool-${self:provider.stage}-1 AutoVerifiedAttributes: - email