Created
December 5, 2016 03:33
-
-
Save guzmonne/d898cc131f0a4870d65cfee032ed0a6b to your computer and use it in GitHub Desktop.
AWS-Request - aws-clients.2.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AWSDynamoDB from 'aws-sdk/clients/dynamodb' | |
import AWSS3 from 'aws-sdk/clients/s3' | |
import AWSSNS from 'aws-sdk/clients/sns' | |
import credentials from '../../credentials.json' | |
const region = 'us-east-1' | |
const config = {region, credentials} | |
export const S3 = new AWSS3(config) | |
export const DynamoDB = new AWSDynamoDB(config) | |
export const SNS = new AWSSNS(config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment