Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exanubes/cognito-user-pool-with-custom-mailer
Repository from exanubes.com for Setup Cognito User Pool with custom emailing service
https://github.com/exanubes/cognito-user-pool-with-custom-mailer
aws aws-cdk aws-kms aws-lambda aws-sdk cognito cognito-client cognito-identity cognito-idp cognito-user-pool json-web-key jwk jwt jwt-authorization key-management-service kms lambda
Last synced: about 21 hours ago
JSON representation
Repository from exanubes.com for Setup Cognito User Pool with custom emailing service
- Host: GitHub
- URL: https://github.com/exanubes/cognito-user-pool-with-custom-mailer
- Owner: exanubes
- Created: 2022-08-17T17:23:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-22T16:50:09.000Z (over 2 years ago)
- Last Synced: 2024-04-17T23:26:55.847Z (9 months ago)
- Topics: aws, aws-cdk, aws-kms, aws-lambda, aws-sdk, cognito, cognito-client, cognito-identity, cognito-idp, cognito-user-pool, json-web-key, jwk, jwt, jwt-authorization, key-management-service, kms, lambda
- Language: TypeScript
- Homepage: https://exanubes.com/blog/setup-cognito-user-pool-with-custom-emailing-service
- Size: 563 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cognito User Pool with Custom Mailer
Repository from [exanubes.com](https://exanubes.com) for [Setup Cognito User Pool with custom emailing service](https://exanubes.com/blog/setup-cognito-user-pool-with-custom-emailing-service).
This repository is using AWS CDK v2 and is not compatible with AWS CDK v1 bootstrap stack.
## Commands:
Run the following commands inside `infrastructure` directory for building, deploying and destroying the stacks
```
npm run build
npm run cdk:deploy -- --all
npm run cdk:destroy -- --all
```Both of these commands use the `aws-cli sts` service to get the account id and aws IAM role `exanubes-cloudformation-access` in order to dynamically provide role arn. Make sure you're using the account you want to deploy the stacks to and that you have the role created either with the same name or different name and change the scripts in `package.json`.