Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.16 KB

File metadata and controls

69 lines (50 loc) · 1.16 KB

lambda-service

what does it do?

.
├── README.md
├── event.json
├── response.json
├── script
│   ├── create-bucket
│   ├── deploy
│   └── package
├── src
│   ├── __tests__
│   │   └── unit
│   │       └── test-handler.js
│   ├── index.js
│   └── package.json
└── template.yaml

Requirements

Setup process

Building the project

. script/build

By default, this command writes built artifacts to .aws-sam/build folder.

Local development

. script/invoke

Packaging and deployment

If you need to create the bucket for this package...

. script/create-bucket

Run the following command to package our Lambda function to S3:

. script/package

Next, the following command will create a Cloudformation Stack and deploy your SAM resources.

. script/deploy

Testing

jest