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: 'your@mail.com' # optional
TemplateURL: './node_modules/@cfn-modules/cognito-userpool/module.yml'
none
none
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.
- Temporary disable the
CognitoUserPoolModule
from all ecs-alb-target modules. Alternatively, you can also delete all stacks containing theecs-alb-target
module. - Upgrade to version
2.0.0
ofcognito-userpool
. - Enable the
CognitoUserPoolModule
from all ecs-alb-target modules.