GitXplorerGitXplorer
n

s3-save

public
21 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
81fbbe1629642d66d33a0c4dda254ff59ef7b7d7

Removes trailing comma in package.json

nnikhilaravi committed 9 years ago
Unverified
76625c7af87fde322972831badf8658c6abfed76

adds package.json to files to deploy

nnikhilaravi committed 9 years ago
Unverified
32c699ab11d2cfe1e1f404cf08fd28b67a7da2a1

Adds handler function for s3 save lambda

nnikhilaravi committed 9 years ago
Unverified
e437edbfcdf911ff8ce2a59844fb82f5f60e4d28

Initial commit

nnikhilaravi committed 9 years ago

README

The README file for this repository.

s3-save

An AWS lambda function that saves a object to an s3 bucket.

The incoming event object expects the following keys:

  • data: an Object to be saved in json format
  • bucket: the name of the s3 bucket to save the file in

The object will be saved as a json file with the filename being a timestamp.

The lambda function will return an object of the form :

{ id: '123445677' };

Where the id is the timestamp.