File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ Resources :
2+ CognitoUserPool :
3+ Type : AWS::Cognito::UserPool
4+ Properties :
5+ UserPoolName : ${self:provider.stage}-tasks-api-pool
6+ AutoVerifiedAttributes :
7+ - email
8+
9+ CognitoUserPoolClient :
10+ Type : AWS::Cognito::UserPoolClient
11+ Properties :
12+ ClientName : ${self:provider.stage}-tasks-api-client
13+ UserPoolId :
14+ Ref : CognitoUserPool
15+ ExplicitAuthFlows :
16+ - ADMIN_NO_SRP_AUTH
17+ GenerateSecret : false
18+
19+ Outputs :
20+ UserPoolId :
21+ Value :
22+ Ref : CognitoUserPool
23+
24+ UserPoolClientId :
25+ Value :
26+ Ref : CognitoUserPoolClient
Original file line number Diff line number Diff line change @@ -57,4 +57,5 @@ plugins:
5757 - serverless-python-requirements
5858
5959resources :
60+ - ${file(resources/cognito.yml)}
6061 - ${file(resources/dynamodb.yml)}
You can’t perform that action at this time.
0 commit comments