https://github.com/simalexan/api-lambda-get-all-dynamodb
Lambda function with an API Gateway that retrieves (gets) all items from a DynamoDB table
https://github.com/simalexan/api-lambda-get-all-dynamodb
api-gateway aws-lambda dynamodb get serverless
Last synced: 5 months ago
JSON representation
Lambda function with an API Gateway that retrieves (gets) all items from a DynamoDB table
- Host: GitHub
- URL: https://github.com/simalexan/api-lambda-get-all-dynamodb
- Owner: simalexan
- Created: 2018-06-01T00:11:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T23:37:59.000Z (almost 6 years ago)
- Last Synced: 2025-04-07T19:39:39.986Z (9 months ago)
- Topics: api-gateway, aws-lambda, dynamodb, get, serverless
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Api Gateway -> Lambda (Scan - Get All) from an existing DynamoDB
## Description
This is a serverless component consisting of:
- an Api Gateway with a GET `/{items}` endpoint, the `items` 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
## Deployment Parameters
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.
## Latest Release - 2.1.0
- Upgraded to Node.js 12.x LTS
## Roadmap - Upcoming changes
Here are the upcoming changes that I'll add to this serverless component:
- ESLint
- Tests