Cognito User Pool
npm install @cfn-modules/cognito-userpool

An Amazon Cognito User Pool with domain and client.
> Install Node.js and npm first!
```
npm i @cfn-modules/cognito-userpool
``
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
Queue:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
InitialUser: 'hello@widdix.de' # optional
TemplateURL: './node_modules/@cfn-modules/cognito-userpool/module.yml'
| Name | Description | Default | Required? | Allowed values |
|---|---|---|---|---|
| InitialUser | The email address for initial user (temporary password via email). | no | Valid email address |
* Secure: Does not backup/snapshot the users stored in the user pool.
We are replacing a custom resource with the newly added AWS::Cognito::UserPoolDomain. Therefore, we need to change the randomly generated domain name.
1. Temporary disable the CognitoUserPoolModule from all ecs-alb-target modules. Alternatively, you can also delete all stacks containing the ecs-alb-target module.2.0.0
1. Upgrade to version of cognito-userpool.CognitoUserPoolModule` from all ecs-alb-target modules.
1. Enable the