💾 Archived View for cfdocs.wetterberg.nu › template-guide.gemini captured on 2023-11-04 at 11:56:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Working with AWS CloudFormation templates

Search

To provision and configure your stack resources, you must understand AWS CloudFormation templates, which are formatted text files in JSON or YAML. These templates describe the resources that you want to provision in your AWS CloudFormation stacks. You can use AWS CloudFormation Designer or any text editor to create and save templates. For information about the structure and syntax of a template, see Template anatomy.

Template anatomy

If you're unfamiliar with JSON or YAML, you can use AWS CloudFormation Designer to help you get started with AWS CloudFormation templates. AWS CloudFormation Designer is a tool for visually creating and modifying templates. For more information, see What is AWS CloudFormation Designer?.

What is AWS CloudFormation Designer?

Template snippets provides examples that demonstrate how to write templates for a particular resource. For example, you can view snippets for Amazon EC2 instances, Amazon S3 domains, AWS CloudFormation mappings, and more. Snippets are grouped by resource, with general-purpose AWS CloudFormation snippets in General template snippets.

Template snippets

General template snippets

For details about the supported resources, type names, intrinsic functions, and pseudo parameters you can use in your templates, see Template reference.

Template reference

AWS CloudFormation template formats

Template anatomy

What is AWS CloudFormation Designer?

Walkthroughs

Template snippets

Custom resources

Using AWS CloudFormation macros to perform custom processing on templates

Using modules to encapsulate and reuse resource configurations

Perform ECS blue/green deployments through CodeDeploy using AWS CloudFormation

Using regular expressions in AWS CloudFormation templates