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