@aws-serverless-tools/cli
v1.0.0
Published
In alpha mode. Maybe pre-alpha. Docs coming soon.
Downloads
11
Readme
AWS Serverless Tools
In alpha mode. Maybe pre-alpha. Docs coming soon.
CLI
Installation
npm install -g @aws-serverless-tools/cli
Basic Use
Initialize serverless Nest Express API
In the same folder as package.json, run the following command:
aws-serverless-tools init --type=nest-express-api
This script does the following:
- Obtains required details about your API and CloudFormation app.
- Scaffolds a
cfn
directory with the CloudFormation template, a bare-bones OpenApi file, a parameters file, a tags file, and a deployment script for local use (CI/CD support & documentation coming). Also generates asrc/lambda-entry-point.ts
file for the Lambda bootstrapping. - Installs required packages to support AWS and OpenApi tooling.
- Configures the
deploy
andopenapi
NPM scripts. - Adds configuration for the
CloudFormationLambdaParametersConfig
tool and the OpenAPI generation tool.
Stay in touch
- Author - Kerry Ritter
- Twitter - @kerryritter
License
Nest is MIT licensed.