cfgen
librarycfgen
provides definitions and helpers to construct AWS CloudFormation templates in OCaml.
With it, you can construct CloudFormation templates without the repetitiveness or errors that come with using JSON or YAML by writing straightforward OCaml code.
cfgen consists of generated OCaml definitions from the AWS CloudFormation Resource Specification and a helper library used to serialise those definitions to JSON with the assistance of the Yojson library.