Project demonstrates a CDK app with an instance of a stack (CdkWorkshopStack
)
which contains an Amazon SQS queue that is subscribed to an Amazon SNS topic.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template
- Create a new CDK project in TypeScript using cdk init
- Add resources to your CDK application stack
- Use cdk diff and cdk deploy to deploy your app to an AWS environment
- Author and use your own custom construct (HitCounter)
- Consume a construct from another npm module (cdk-dynamo-table-viewer)
- Use the AWS Lambda, API Gateway and DynamoDB AWS construct libraries