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