aws-s3
Use aws-sdk to read a file from an S3 bucket.
Setup
- Follow steps in References 1 to setup an S3 bucket and upload sample.csv
- Follow steps in References 3 to create an AWS Access Key
- Follow steps in References 4 to create a local AWS credentials file
- Fetch this repo and run the following:
npm install
node index.js
- Results:
file downloaded successfully