CDK Synth
Synthesise a template from your app
AWS CDK apps are effectively only a definition of your infrastructure using code. When CDK apps are executed, they produce (or “synthesize”, in CDK parlance) an AWS CloudFormation template for each stack defined in your application.
To synthesise a CDK app, use the cdk synth command. Running this command will return a CFN YAML:
cdk synthNote: you must be in the same dir as cdk.json to make it.