A CLI Tool for building Lambda Functions in TypeScript and deploying workflows.
Still in Version 0.8, so only build drom source is supported.
- install dependencys
yarn
- Compile TypeScript
yarn run build
- Run command
yarn run start <command>
Initalizing the project.
command: lambda init
Options:
- region:
[string]
default: us-east-1 - AWS region - name :
[string]
- otherwise the directory name will be used as the name - profile:
[string]
- can be configured later
Takes a specifyied profile from the ~/.aws
file and connects it with your project.
command: lambda profile <profile>
Positionals:
<profile>
:[string]
the profile name
A Submodule for managing lambda Functions.
Just initalizes functions or returns a list of functions.
command: lambda functions
command: lambda functions add <name>
Positionals:
<name>
:[string]
the name of the lambda function
Options:
- runtime: [
string
] default: TypeScript - other runtimes are not supported at the moment... If you want, feel free to support the project.
command: lambda functions remove <name>
Positionals:
<name>
:[string]
the name of the lambda function
Command to build all functions and creates Zip files for deployment.
command: lambda functions build