Skip to content

Instantly share code, notes, and snippets.

View AnoopButola's full-sized avatar
🏠
Working from home

Anoop Butola AnoopButola

🏠
Working from home
View GitHub Profile
AWSTemplateFormatVersion: 2010-09-09
Resources:
OrdersTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: AuthorsTable_prod
AttributeDefinitions:
- AttributeName: "AuthorName"
AttributeType: "S"
- AttributeName: "BookTitle"
DynamoDb Put Item Documentation - https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html
API Gateway Policy
---
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
Commands
------------
1. Build Docker Image
docker build -t test .
2. Run container /w image
docker run -d --publish 8888:5000 test
3. Login to ECR
aws ecr get-login-password --region REGIONHERE!!!! | docker login --username AWS --password-stdin ACCOUNTIDHERE!!!!.dkr.ecr.REGIONHERE!!!.amazonaws.com
@AnoopButola
AnoopButola / sql.md
Created June 26, 2020 17:24 — forked from anhthii/sql.md

Prepare for SQL interview questions

Tutorial

SQL tutorial: https://tutorial.techaltum.com/SQLServer.html

Sample questions and solutions