aws-sam-translator
AWS SAM Translator is a library that transform SAM templates into AWS CloudFormation templates
Install
aws-sam-translator on PyPI
pip
pip install aws-sam-translatoruv
uv add aws-sam-translatorpoetry
poetry add aws-sam-translatorPackage 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
About aws-sam-translator
from the package's own PyPI description — quoted content, verbatim
AWS SAM transform
Tests (image) Update schema (image) PyPI (image) PyPI - Python Version (image) Contribute with Gitpod (image)
The AWS Serverless Application Model (AWS SAM) transform is a AWS CloudFormation macro that transforms [SAM...
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.
Similar packages
permissive · top 1,000 on PyPI
cfn-lintpermissive · top 1,000 on PyPI
schemapermissive · top 1,000 on PyPI
inflectionpermissive · top 1,000 on PyPI
modalpermissive · top 1,000 on PyPI
aws-xray-sdkpermissive · top 1,000 on PyPI
awsclipermissive · top 1,000 on PyPI
watchtowerpermissive · top 1,000 on PyPI
botocorepermissive · top 100 on PyPI
boto3permissive · top 100 on PyPI