https://github.com/fredericbarthelet/elo-serverless
https://github.com/fredericbarthelet/elo-serverless
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fredericbarthelet/elo-serverless
- Owner: fredericbarthelet
- Created: 2023-01-20T14:09:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T13:50:56.000Z (over 3 years ago)
- Last Synced: 2025-11-12T10:04:48.112Z (8 months ago)
- Language: TypeScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to your CDK TypeScript Construct Library project
You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (`EloServerless`)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (`EloServerlessProps`) to configure the visibility timeout of the queue.
## Setup
The `lib` folder contains the CDK code used to deploy the `EloServerless` stack. The `test` folder defines the integration test that interacts with the `EloServerless` stack to check that it behaves as expected.
To setup your development environment:
- Run `pnpm run build` to transpile the content of the `test` folder
- Run `pnpm cdk bootstrap aws:///eu-west-1 --profile ` to deploy a bootstrap stack (if you don't have one already)
- Run `pnpm cdk deploy --app 'node test/integ.elo.js' --all --profile ` to deploy and test the `EloServerless` stack