An open API service indexing awesome lists of open source software.

https://github.com/fredericbarthelet/elo-serverless


https://github.com/fredericbarthelet/elo-serverless

Last synced: 4 days ago
JSON representation

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