1.0.0 • Published 1 year ago
@wrlakshan/cdk-s3-cdn-construct v1.0.0
Welcome to your CDK TypeScript Construct Library project
You should explore the contents of this project. It demonstrates a CDK Construct Library that includes a construct (CdkS3CdnConstruct) which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The construct defines an interface (CdkS3CdnConstructProps) to configure the visibility timeout of the queue.
Useful commands
npm run buildcompile TypeScript to JavaScriptnpm run watchwatch for changes and compilenpm run testrun the Jest unit teststsccompile TypeScript to JavaScript (same asnpm run build)
Setting up and Publishing the Package
Initialize the project with a scope:
npm init --scope=@wrlakshanLog in to npm:
npm loginPublish the package with public access:
npm publish --access publicUpdate the package version:
npm version 0.4.0