Skip to content

Instantly share code, notes, and snippets.

View RabinMallick's full-sized avatar
:octocat:
Focusing

Rabin Mallick RabinMallick

:octocat:
Focusing
View GitHub Profile
@RabinMallick
RabinMallick / sam-template-with-dynamoDB.yaml
Last active December 1, 2022 10:36
A sam template with a lambda function and a dynamoDB table
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Resources:
AppFunction:
Type: AWS::Serverless::Function
Properties:
Handler: app/index.handler
Runtime: nodejs6.10
Timeout: 60
@RabinMallick
RabinMallick / cloudfront_distro.yaml
Created December 20, 2018 06:02 — forked from belminf/cloudfront_distro.yaml
Example of an empty S3OriginConfig
AWSTemplateFormatVersion: 2010-09-09
Resources:
Bucket:
Type: 'AWS::S3::Bucket'
Properties:
AccessControl: PublicRead
WebsiteConfiguration:
IndexDocument: index.html
ErrorDocument: error.html
Distro:
@RabinMallick
RabinMallick / .travis-lambda-node.yml
Created December 12, 2018 02:12 — forked from tdmalone/.travis-lambda-node.yml
.travis.yml example for Node.js Lambda microservice testing and deployment
language: node_js
services: docker
node_js: 6.10
env:
global:
- AWS_ACCESS_KEY_ID=...
- AWS_DEFAULT_REGION=ap-southeast-2