Skip to content

Instantly share code, notes, and snippets.

View AlexanderKaran's full-sized avatar

Alexander Karan AlexanderKaran

View GitHub Profile
@AlexanderKaran
AlexanderKaran / http_lambda.js
Created January 6, 2022 12:27
AWS Lambda Example
const AWS = require('aws-sdk');
const dynamo = new AWS.DynamoDB.DocumentClient();
/**
* Demonstrates a simple HTTP endpoint using API Gateway. You have full
* access to the request and response payload, including headers and
* status code.
*
* To scan a DynamoDB table, make a GET request with the TableName as a