CloudFormation is a powerful AWS offering that allows the programmatic creation of AWS resource stacks, such as the web tier of an application, a high performance computing
In addition to the AWS CLI aws cloudformation validate-template command there is a node-based cfn-check tool that does deeper validation.