All apps/AWS CloudFormation CLI

AWS CloudFormation CLI

cloudformation-cli

The CloudFormation Provider Development Toolkit.

Runs as cfn|macOS, Linux, Windows|github.com

Command form

ai-draft · 5 tasks · 11 fields

Submit, test and build images for CloudFormation resource types with cfn. init, generate, package and validate take no options here.

Opens the form; the finished command lands at your prompt, unrun
otty gui cloudformation-cli

cfn submit

Submit a resource type
Submit a resource typeExample values, fixed in this page — nothing here reaches a terminal
Basic
Dry run set by task
--dry-run
TasksEach one presets the form for one job
Package only
dry_run
Register and set default
set_defaultdry_run
ParametersOnly these flags are editable in the form
Dry run
Prepare the package without registering it.
boolean
--dry-run
Set as default version
boolean
--set-default

cfn test

Run contract tests
Run contract testsExample values, fixed in this page — nothing here reaches a terminal
Basic
Type configuration file
file
AWS region
string
AWS profile
string
Advanced
Handler timeout (seconds)
integer
TasksEach one presets the form for one job
Run tests
typeconfigregionprofileenforce_timeout
Run with CTv2
v2typeconfigregionprofile
ParametersOnly these flags are editable in the form
Use CTv2 (Docker) executor
boolean
--v2
Type configuration file
path
--typeconfig
AWS region
string
--region
AWS profile
string
--profile
Handler timeout (seconds)
integer
--enforce-timeout
Log group name
string
--log-group-name
Log delivery role ARN
string
--log-role-arn

cfn build-image

Build a handler image
Build a handler imageExample values, fixed in this page — nothing here reaches a terminal
Basic
Image name
string
Executable
file
TasksEach one presets the form for one job
Build image
image_nameexecutable
ParametersOnly these flags are editable in the form
Image name
string
--image-name
Executable
path
--executable
SourcesEvery flag above is checked against these
help
cfn submit cfn submit --dry-run #prepares schema handler package without submitting for registration cfn submit --set-default # if successfully registered, set submitted version to be the new default version
manual2026-10-27

github.com

help
cfn test --enforce-timeout 60 # Read/List handler timeout cfn test --log-group-name cw_log_group --log-role-arn log_delivery_role_arn cfn test --v2 --region us-west-2 --profile my-profile cfn test --v2 --typeconfig ./myResourceTypeConfig.json --typeconfig ./myResourceTypeConfig.json cfn test --v2 --rqts-image my-registry/my-executor:my-tag
manual2026-10-27

github.com

help
cfn build-image cfn build-image --image-name my-handler --executable target/myjar.jar
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed cfn against its version. A form that does not match your version is not offered.