Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

AWS CloudFormation Cheat Sheet

AWS CloudFormation Cheat Sheet

Back to Cloud Computing
Updated 2026-04-28
Next Topic: Azure Cloud Computing Core Cheat Sheet

AWS CloudFormation is Amazon's infrastructure as code (IaC) service for provisioning and managing AWS resources through declarative templates. Templates written in JSON or YAML define the desired state of resources, and CloudFormation handles creation, updates, and dependency management automatically. Unlike imperative scripting, CloudFormation's declarative approach lets you specify what infrastructure you need rather than how to build it, with built-in rollback on failure and drift detection to ensure deployed resources match the template definition. The AWS::LanguageExtensions transform (2022+), Git sync, Stack Refactoring, IaC Generator, and pre-deployment change set validation represent the latest capabilities that significantly improve the template authoring and deployment lifecycle.

What This Cheat Sheet Covers

This topic spans 18 focused tables and 127 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Template SectionsTable 2: Resource AttributesTable 3: Intrinsic Functions — ReferencesTable 4: Intrinsic Functions — ConditionalsTable 5: Rule FunctionsTable 6: Pseudo ParametersTable 7: Parameter TypesTable 8: Dynamic ReferencesTable 9: Stack OperationsTable 10: Stack Policies and ProtectionTable 11: Nested, Cross-Stack, and Multi-Account FeaturesTable 12: Custom Resources and TransformsTable 13: Helper Scripts for EC2Table 14: Wait Conditions and SignalsTable 15: Template Validation and LintingTable 16: Registry and ExtensionsTable 17: Template FormatsTable 18: Stack States

Table 1: Template Sections

SectionExampleDescription
Resources
Resources:
MyBucket:
Type: AWS::S3::Bucket
• Required section — defines every AWS resource to create
• each entry has a logical ID, Type, and Properties.
Parameters
Parameters:
InstanceType:
Type: String
Default: t3.micro
• Input values passed at stack creation/update
• supports validation constraints, defaults, and AWS-specific types for reusability.
Outputs
Outputs:
BucketName:
Value: !Ref MyBucket
Export:
Name: MyBucketName
• Values returned after stack creation
• can be exported for cross-stack references via !ImportValue.
Mappings
Mappings:
RegionMap:
us-east-1:
AMI: ami-12345
• Static key-value lookup tables for region-specific or environment-specific values
• accessed with Fn::FindInMap.
Conditions
Conditions:
IsProd: !Equals [!Ref Env, prod]
• Boolean logic evaluated at deployment time
• used to conditionally create resources or set property values.

More in Cloud Computing

  • AWS Cloud Services Cheat Sheet
  • Azure Cloud Computing Core Cheat Sheet
  • Amazon Web Services (AWS) - Core Cheat Sheet
  • Cloud Cost Optimization Strategies Cheat Sheet
  • Cloud Migration Cheat Sheet
  • GCP BigQuery Cheat Sheet
View all 40 topics in Cloud Computing