1.0.17 • Published 2 years ago
aws-sam-function-generator v1.0.17
AWS SAM Lambda Function Generator
A script that generates the necessary files to create a Lambda function for building serverless applications using AWS Serverless Application Model (AWS SAM) based on the sam init
Typescript example. This doesn't include any testing configurations.
Getting Started
npx aws-sam-function-generator --funcName [function-name]
The script creates a directory based on the function name entered. If a function name isn't provided a random name will be provided.
Example executes from within the project folder
| Root directory
|
| example-app
| - template.yml
| - examplefunction
| --|-fn
| ---- index.ts
| --|.eslintrc.js
| --|.eslintignore
| --| ..
Author
- B.Shelling (@bshelling)