Skip to main content

CFN-TRANSFORM

Installation and Quick Start

Pre-Requisites

  • cfn-transform requires python 3.7 or greater
  • cfn-transform is installed via pip

Installation

The recommended and tested way fo installing cfn-transform is via pip.

cfn-transform can be installed using the following command:

pip install cfn-transform

Quick Usage

Once you have your cfn-transform installed, you are now free to utilize our PyPi.

Run either of the following commands to view our current supported options for cfn-transform.

cfn-transform --help

Overview

What is cfn-transform

Cfn-transform is a command-line utility used to return transformed SAM templates.

With cfn-transform , you are able to return a fully transformed SAM template either to the command line or directly to a file. Unlike other tools for returning transformed files, cfn-transform does not require any AWS credentials and can be ran locally on your machine.

How does it work?

Cfn-transform works by utilizing the functionality of the decode command within cfn-lint. The current linter creates the transformed template using aws-sam-cli.samtranslator and checks it to make sure that it is a valid template. Cfn-transform uses the same translator, and returns it to be displayed for the user. Similarly to the process used in cfn-lint, the current library returns a default transformation for the region us-east-1.

Features

Commands currently supported :

cfn-transform [example.json]
cfn-transform [example.yaml]

Base command to return transformed to command line

Command Options currently supported :

cfn-transform [example.json] -f [text.txt]
cfn-transform [example.yaml] --file [text.txt]

Option to attach to return transformed to a specified text file

Metadata

Release files for cfn-transform 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfn-transform 1.1.0
File Size Uploaded
cfn-transform-1.1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfn-transform 1.1.0
File Interpreter ABI Platform
cfn_transform-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.4 kB

Release files / cfn-transform-1.1.0.tar.gz

Download URL cfn-transform-1.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4dc2d4d6447302f09f202d1a22ed0158268a6f25c16d350f40faf72c80e6077d
BLAKE2b-256 checksum
How to use checksums
1fb1f0360d031bed00d0e1dec602290f84ac8b9e0f7e5eae905629aca13ecf32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / cfn_transform-1.1.0-py3-none-any.whl

Download URL cfn_transform-1.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
169492432df591207a5d102ba57cf4a5941b0ae84c6f4322fa9022e6ceb98e4e
BLAKE2b-256 checksum
How to use checksums
a36b98bcc63913c59c554be973431986daaae3150059c7474e36e7a44e7bd96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page