Kumogata is a tool for AWS CloudFormation.  It can define a template in Ruby DSL.