You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (Stepapi
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (StepapiProps
) 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