AWS CloudFormation Modules encapsulate one or more AWS resources and their respective properties for reuse across your organization. Modules make it simple to use the specific resources you need, while keeping resource configurations aligned with organizational best practices. You can now create YAML-formatted Modules in your CloudFormation templates. YAML-formatted Modules follow the same anatomy as existing JSON-formatted Modules. We have also added delimiter support for Modules.
Source:: Amazon AWS