Is there a way to write CloudFormation templates in Java code and generate yaml
or json
from them?
I spotted this troposphere tool that allows you to write Python code decribing the stack and generate CloudFormation code from it.
I'm looking for similar solution that would allow me to write code in Java instead. Is there any?
You'll want to check out the new AWS CDK, it does exactly that.
The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in code and provision it through AWS CloudFormation. ... currently available for Java, JavaScript, and TypeScript.
https://aws.amazon.com/blogs/developer/aws-cdk-developer-preview/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.