AWS SAM CLI adds CloudFormation Language Extensions support
AWS SAM CLI now supports AWS CloudFormation Language Extensions, allowing developers to reduce duplication in their infrastructure as code templates while maintaining local development workflows. This feature enables defining resources once and iterating locally, accelerating serverless development by catching errors before cloud deployment. The update processes Language Extensions in memory for local operations, benefiting developers who frequently define similar resources.
- →Support for AWS CloudFormation Language Extensions
- →Accelerated local serverless development
- →How to use Language Extensions with SAM CLI
- →Expanded Language Extensions capabilities
Features (1) ›
- Support for AWS CloudFormation Language Extensions
AWS SAM CLI now supports AWS CloudFormation Language Extensions, allowing developers to reduce template duplication and maintain a full local development workflow. This enables defining resources once and testing them locally across all SAM CLI commands before cloud deployment.
Enhancements (2) ›
- Accelerated local serverless development
This feature accelerates serverless development by letting developers define resources once and iterate locally without waiting for cloud deployments. It shortens iteration cycles and reduces time spent debugging failed deployments in the cloud by catching errors like invalid syntax or missing dependencies early.
- Expanded Language Extensions capabilities
SAM CLI supports additional Language Extensions features including Fn::Length, Fn::ToJsonString, Fn::FindInMap with DefaultValue, and conditional DeletionPolicy and UpdateReplacePolicy attributes.
Notes (1) ›
- How to use Language Extensions with SAM CLI
To use this feature, download or update SAM CLI to the latest version, add the AWS::LanguageExtensions transform to your SAM template, and use Fn::ForEach to generate multiple resources. SAM CLI commands will automatically expand loops and process generated resources, allowing invocation by expanded function name.
https://aws.amazon.com/about-aws/whats-new/2026/05/aws-sam-cli-cloudformation/
Related releases
- AWS Lambda adds Java 8, 11, 17 support on Amazon Linux 2023 AWS What's New ·
- AWS CodeDeploy Expands to Five New Regions AWS What's New ·
- AWS Weekly Roundup: Local Zone in Athens, Claude Opus 5 on AWS, Lambda Durable Execution for .NET AWS News Blog ·
- AWS Lambda Managed Instances logs now available in CloudWatch AWS What's New ·
- AWS Lambda Durable Execution SDK for .NET now GA AWS What's New ·
- AWS Lambda durable functions support customer-managed KMS encryption AWS What's New ·