AWS CDK (Cloud Development Kit) Sample
This page demonstrates how InfViz can help you visualize AWS CDK script files. In this example we will use AWS CDK example (https://github.com/aws-samples/aws-cdk-examples).
1. Getting CDK sample files
Download the sample files from github (https://github.com/aws-samples/aws-cdk-examples)
2. Run setup instructions of the sample application
npm install -g aws-cdk
cd typescript/my-widget-service
npm install
npm run build
3. Generate a cloudformation file
Windows
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf7'
cdk synth | out-file test.yaml
Mac Linux
cdk synth > test.yaml
4. Upload and view in InfViz Studio

In InfViz studio
Log in to InfViz Studio (https://studio.infviz.io)
Browse to 'AWS Import'
Click 'Choose Files'
Select 'test.yaml' file generated in step 3
Click 'Upload'

Last updated
Was this helpful?