You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (KaitoCdkConstruct
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (KaitoCdkConstructProps
) to configure the visibility timeout of the queue.
-
npm run upgrade
update dependencies (do not runnpm install
oryarn upgrade
separately) -
npm run build
compile typescript to js -
npm run watch
watch for changes and compile -
npm run test
perform the jest unit tests
- You need to update the export entries in
src/index.ts
if you add or remove any file to let JSII know the compile changes