You should explore the contents of this project. It demonstrates a CDK app with an instance of a stack (DotNetAwsCdkStack
)
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.
It uses the .NET Core CLI to compile and execute your project.
dotnet build src
compile this appcdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk docs
open CDK documentation
Enjoy!