Search code examples
amazon-web-servicesaws-cloudformationboto3aws-java-sdkaws-java-sdk-2.x

Generate Code (java, python, etc.) from CloudFormation Template


Is there a mechanism/framework available to generate code from a CloudFormation template?


Solution

  • There are two tools:

    • Troposphere is a Python library to create CloudFormation stacks from Python code.
    • CDK is a JavaScript library to create CloudFormation stacks from JavaScript / TypeScript code.