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:
57
57
- serverless-python-requirements
58
58
59
59
resources :
60
+ - ${file(resources/cognito.yml)}
60
61
- ${file(resources/dynamodb.yml)}
You can’t perform that action at this time.
0 commit comments