Created
October 10, 2018 17:06
-
-
Save adrianhall/5f8e72af295456407f1f35384853dd9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#======================================================================================= | |
CognitoUserPoolMyPool: | |
Type : AWS::Cognito::UserPool | |
Description : "Username / Password auth database" | |
Properties: | |
UserPoolName : ${self:provider.apiname} | |
Schema: | |
- Name : email | |
Required : true | |
Mutable : true | |
Policies: | |
PasswordPolicy: | |
MinimumLength : 6 | |
RequireLowercase : false | |
RequireUppercase : false | |
RequireNumbers : false | |
RequireSymbols : false | |
AutoVerifiedAttributes : [ "email" ] | |
MfaConfiguration : "OFF" | |
#======================================================================================= | |
AndroidUserPoolClient: | |
Type : AWS::Cognito::UserPoolClient | |
Description : "OAuth2 app client for Android app" | |
Properties: | |
ClientName : ${self:provider.apiname}-android | |
GenerateSecret : true | |
UserPoolId : { Ref: CognitoUserPoolMyPool } | |
#======================================================================================= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment