This is a simple starting point for SAM serverless applications for NodeJS 8.10
.
├── README.MD <-- This instructions file
├── service . <-- Source code for a lambda function
│ └── app.js <-- Lambda function code
│ └── package.json <-- NodeJS dependencies and scripts
│ └── tests <-- Unit tests
│ └── unit
│ └── test-handler.js
├── template.yaml <-- SAM template
- AWS-SDK
- AWS-XRAY-SDK
Layers work in us-east-1, us-west-2, and eu-central-1
To use in AWS SAM CLI
sam init -l gh:singledigit/sam-template-node