You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (NxpCcoeCdpBblocks2
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (NxpCcoeCdpBblocks2Props
) to configure the visibility timeout of the queue.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit tests