AWS CloudFormation · Schema

AWS CloudFormation Template

Represents the structure of an AWS CloudFormation template. A template is a JSON or YAML formatted text file that describes the AWS infrastructure and resources to provision. Templates can be used to create and update CloudFormation stacks.

AutomationAWSCloud ResourcesIaCInfrastructure As CodeStack Management

Properties

Name Type Description
AWSTemplateFormatVersion string The AWS CloudFormation template version that the template conforms to. The only valid value is 2010-09-09.
Description string A text string that describes the template.
Metadata object Objects that provide additional information about the template. Can include template-specific metadata such as AWS::CloudFormation::Interface.
Parameters object Values to pass to your template at runtime when you create or update a stack. Parameters enable you to customize stack creation.
Rules object Validates a parameter or a combination of parameters passed to a template during stack creation or update.
Mappings object A mapping of keys and associated values that you can use to specify conditional parameter values. Similar to a lookup table.
Conditions object Conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update.
Transform object For serverless applications, specifies the version of the AWS SAM to use. You can also use AWS::Include transforms to work with template snippets stored separately.
Resources object Specifies the stack resources and their properties, such as an Amazon EC2 instance or an Amazon S3 bucket. You must declare each resource separately.
Outputs object Describes the values that are returned whenever you view your stack's properties. Output values can be used for cross-stack references.
View JSON Schema on GitHub