Skip to content

Instantly share code, notes, and snippets.

View tokifukaz's full-sized avatar
🎸

Niyaz Abbasov tokifukaz

🎸
View GitHub Profile
// StudentManagement
const AWS = require('aws-sdk');
const smdb = new AWS.DynamoDB.DocumentClient();
exports.handler = (event, context, callback) => {
console.log('Event body: ', event.body);
const rb = event.body;
var endPoint = rb.Endpoint;
@tokifukaz
tokifukaz / student_infrastructure.yaml
Created May 29, 2020 17:51
student-management app AWS SAM
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description:
Serverless infrastructure for Student Management
Resources:
StudentTable:
Type: 'AWS::Serverless::SimpleTable'
Properties: