January 2019
Intermediate to advanced
490 pages
15h 37m
English
We can create a Cognito user pool as follows:
aws cognito-idp create-user-pool \ --cli-input-json file://create-user-pool-cli-input.json \ --region us-east-1 \ --profile admin
The create-user-pool-cli-input.json file has the following contents:
{ "PoolName": "javscript_pool", "Policies": { "PasswordPolicy": { "MinimumLength": 8, "RequireUppercase": true, "RequireLowercase": true, "RequireNumbers": true, "RequireSymbols": true } }, "AutoVerifiedAttributes": [ "email" ], "AliasAttributes": [ "email" ], "EmailVerificationMessage": "Your verification code from MyApp is {####}", "EmailVerificationSubject": "Your verification code from MyAp", "UserPoolTags": { "Team": "Dev" }}
This is the same as what we ...
Read now
Unlock full access