Transform section is optional and specifies a transform that AWS CloudFormation uses to
process your template. AWS CloudFormation transforms are statements that condense and simplify template
authoring. For example, you can simplify a resource declaration that might have taken multiple
lines into a single line.
Transforms are declarative statements within AWS CloudFormation templates that tell AWS CloudFormation how to process your
Transform builds on the
simple, declarative language of AWS CloudFormation with a powerful macro system. You can create
AWS CloudFormation transformations to simplify the expression of AWS infrastructure as code. In doing so, transforms help
simplify how you write templates.
AWS::Serverless transform is a specific version of the
AWS Serverless Application Model (AWS SAM). This model defines the AWS SAM syntax that you can use and
how AWS CloudFormation processes it. When you create a change set, AWS CloudFormation resolves all
For more information about serverless applications and the model, see Deploying Lambda-based Applications in the AWS Lambda Developer Guide.
You can also use the
AWS::Include transform to work with template
snippets that are stored separately from the main AWS CloudFormation template. You can insert those
snippets into your main template when Creating a Change Set or Updating Stacks Using Change Sets.