Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

export CDK to cloudformation template -python

Tags:

aws-cdk

I built a successful python CDK stack and i want to export it as cloudformation template , can someone guide me on that ?

i found the below but it's not in python https://wp-kyoto.net/en/create-cloudformation-template-using-aws-cdk-typescript/

like image 627
Ahmed Raafat Avatar asked Apr 06 '26 18:04

Ahmed Raafat


1 Answers

You just have to run cdk synth

In the same directory where the cdk.json file is located there should be a folder named cdk.out

This contains the synthesized cloudformation templates in json format.

like image 128
nsquires Avatar answered Apr 11 '26 04:04

nsquires



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!