skillfed

aws-sam-translator

AWS SAM Translator is a library that transform SAM templates into AWS CloudFormation templates

aws-sam-translator Permissive license Apache License 2.0 Active 9,563 v1.111.0 released

Install

aws-sam-translator on PyPI

pip

pip install aws-sam-translator

uv

uv add aws-sam-translator

poetry

poetry add aws-sam-translator

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (!=4.0,<=4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — boto3, jsonschema, typing_extensions, pydantic
Maintenance actively maintained — 42 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: aws_sam_translator-1.111.0-py3-none-any.whl

Keywords: AWS, SAM, Serverless, Application, Model

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Other EnvironmentIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Build ToolsTopic :: Utilities

About aws-sam-translator

from the package's own PyPI description — quoted content, verbatim

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Transforms AWS SAM (Serverless Application Model) templates into CloudFormation templates, enabling simplified serverless application definition with built-in best practices and sane defaults.

Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases (42 days since last version) and strong repository signals (9563 stars, current commits). Supports Python 3.10–3.14.

Licensed under Apache License 2.0 (permissive), allowing broad use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.

Usage

pip install aws-sam-translator

from aws_sam_translator.translator import SAMTranslator
translator = SAMTranslator()
cfn_template = translator.translate(sam_template, 'AWS::Serverless-2016-10-31')

Requires Python 3.10 or later; SAM templates must be valid YAML/JSON with proper structure.

Verdict: Production-ready library with active maintenance, no known vulnerabilities, and permissive licensing. Low install friction and broad Python version support make it a solid choice for teams automating SAM-to-CloudFormation conversion in CI/CD pipelines or infrastructure tooling.

Needs verification

  • Whether the translator handles all current SAM resource types and extensions without gaps.
  • Performance characteristics when processing large or deeply nested SAM templates.
  • Compatibility with custom CloudFormation macros or extensions beyond standard SAM.
SAM template transformationserverless application model CloudFormationAWS SAM translatorCloudFormation macro for serverlessSAM to CloudFormation converterserverless infrastructure as codeAWS Lambda template generation

Similar packages