AWS CloudFormation Template Schema
The CloudFormation template schema is intended to improve the authoring experience for our customers. It is a simple code process which converts our existing Resource Specifications files into a JSON Schema formatted document. This schema can be integrated into many publicly available IDEs such as Visual Studio Code & PyCharm to provide inline syntax checking and code completion.
Key Features
- Complete type-safe template authoring with IntelliSense-based completion
- Support for both YAML and JSON templates
- Errors flagged for missing required properties
- Integrated deep links to CloudFormation documentation for the resource or template section you are editing
What does an integration look like?
Here is a VSCode setup integration example
How do I set it up?
VS Code
For VS Code please follow the setup/guidelines or install the pre-configured CloudFormation Linter VS Code extension
PyCharm
For PyCharm please follow the setup/guidelines
How do I build and run the tool?
See instructions which describes how to run the tool locally, to generate specifications for only subset of resources or AWS regions.
License
This library is licensed under the Apache 2.0 License.