Transform

The optional Transform section specifies one or more macros that AWS CloudFormation uses to process your template.

The transform method maps to the CloudFormation Template Anatomy Transform section.

Example Snippet 1

transform("MyMacro", "Aws::Serverless")

Outputs

Transform:
- MyMacro
- Aws::Serverless

Example Snippet 2

transform("MyMacro")

Outputs

Transform: MyMacro

Back to DSL Basics Docs.