You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (Lib
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (LibProps
) to configure the visibility timeout of the queue.
-
yarn build
compile typescript to js -
yarn watch
watch for changes and compile -
yarn test
perform the jest unit tests -
yarn
install -
yarn cdk bootstrap
bootstrap cdk -
yarn deploy
deploy