Skip to content

Instantly share code, notes, and snippets.

@guzmonne
Created December 5, 2016 03:33
Show Gist options
  • Save guzmonne/ed90b45b190452dc99a44c14c99eb8ed to your computer and use it in GitHub Desktop.
Save guzmonne/ed90b45b190452dc99a44c14c99eb8ed to your computer and use it in GitHub Desktop.
AWS.Request - aws-clients.1.js
import AWS from 'aws-sdk'
import credentials from '../../credentials.json'
const region = 'us-east-1'
const config = {region, credentials}
AWS.config.update(config)
export const S3 = new AWS.S3()
export const DynamoDB = new AWS.DynamoDB()
export const SNS = new AWS.SNS()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment