init - CloudFormation Command Line Interface

init

Description

The init command launches a wizard that walks you through setting up your project. Once your project is specified, the command generates a new extension project with stub source files.

While the specific folder structure and files generated varies project and by language, in general the project includes the following:

  • Schema file.

  • Handler function source files.

  • Unit test files.

  • Build files for the specified language.

By default, init generates the extension project in the current directory.

Synopsis

cfn init [--force]

Options

--force

Force project files to be overwritten.

Output

The init command launches a wizard that walks you through setting up the project, including specifying the extension name.

Initializing new project Do you want to develop a new resource(r) or a module(m) or a hook(h)?