generate - Extension development for CloudFormation
This documentation is a draft for private preview for regions in the AWS European Sovereign Cloud. Documentation content will continue to evolve. Published: December 30, 2025.

generate

Description

The generate command generates code based on the project and appropriate extension type schema.

Synopsis

$ cfn generate

Examples

The following command submits the resource to the registry in your CloudFormation account.

$ cfn generate && cfn submit --set-default --region us-east-1

Output

Generated files for <type_name>