A simple wrapper for Amazon S3
Amazon Web Services (AWS) - Amazon S3 (Amazon Simple Storage Service) wrapper for Replay project.
Using the S3 npm package for high level client of the aws-sdk module.
Process environment variables
Name | Description | Default |
---|---|---|
AWS_ACCESS_KEY_ID | AWS S3 access key id | required |
AWS_SECRET_ACCESS_KEY | AWS S3 secret access key | required |
AWS_ENDPOINT | AWS S3 endpoint | Amazon default: something like http://s3-{region}.amazonaws.com |
AWS_REGION | AWS S3 region | eu-west-1 |
MAX_SOCKETS | Socket pool size in the http & https global agents. (This will improve bandwidth when using uploadDir and downloadDir functions.) |
20 |
Installation
npm install replay-aws-s3 --save
API Usage
var s3 = ; // General functions:s3; s3; // Files functions:s3;s3;s3; // Objects functions:s3;s3; // Directories functions:s3;s3;s3; // Buckets functions:s3;s3;s3; // TODO...
Extra Info:
See also: