
上QQ阅读APP看书,第一时间看更新
CloudFormation Template Components
CloudFormation templates are composed of the following primary components:
- AWSTemplateFormatVersion is the version of CloudFormation template the template conforms to
- Description is a text that describes the template
- Resource components are the AWS resources used in the template
- Parameter components are the input (dynamic) to your template
- Mapping components are variables (static) for your template
- Output components describe the values that are returned
- Condition components control resource provisioning
- Metadata provides additional information about the template
- Transform specifies the version of the AWS Serverless Application Model (AWS SAM) for Serverless applications
Resource is the only mandatory section of a CloudFormation template.
We will talk about the components in the recipe in which they are introduced. Read more about template components at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html.