Skip to content

Instantly share code, notes, and snippets.

@guzmonne
Created December 5, 2016 03:33
Show Gist options
  • Save guzmonne/d898cc131f0a4870d65cfee032ed0a6b to your computer and use it in GitHub Desktop.
Save guzmonne/d898cc131f0a4870d65cfee032ed0a6b to your computer and use it in GitHub Desktop.
AWS-Request - aws-clients.2.js
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