This is a serverless component consisting of:
-
an Api Gateway with a GET
/{items}
endpoint, theitems
are any path. -
a Lambda that receives an API Gateway request and retrieves (gets) all items from a DynamoDB table.
-
Supports CORS.
-
Written in Node.js
This component has two CloudFormation deployment parameters:
DynamoDBTable
, a required parameter, represents the name of the existing DynamoDB table.CorsOrigin
, an optional parameter, where you can restrict access to only specified domains.
It's a Nuts & Bolts application component for AWS Serverless Application Repository.
- Upgraded to Node.js 12.x LTS
Here are the upcoming changes that I'll add to this serverless component:
- ESLint
- Tests