This repository contains an example projects for AWS Cloud Development Kit or known as CDK and a Cognito User Pool. We will simple configure an Cognito User pool.
- AWS CDK (Java)
- Node (>= 10.3.0)
Cognito can manage the users. That can sign in from different identity providers like Google, Facebook, Amazon and through SAML identity providers. Can handle the full life circle of a user management. On this demo we create a very simple Cognito User Pool
- Cognito User Pool simple configuration
- Cognito User Pool put Domain
- Cognito User Pool Client simple configuration
To install CDK check the link
npm install -g aws-cdk
Properties that need:
- CDK_DEFAULT_ACCOUNT
- CDK_DEFAULT_REGION
Optional properties can pass:
- ENVIRONMENT = demo
- COGNITO_DOMAIN = ENVIRONMENT + "user-pool-domain-123"
mvn compile -DCDK_DEFAULT_ACCOUNT=12312313 -DCDK_DEFAULT_REGION=eu-west-1
cdk deploy
Drop the stack
cdk destroy