var AWS = require('aws-sdk'); var s3 = new AWS.S3(); var params = { Bucket: 'bucket.name', Key: 'subfolder/test.json' }; s3.getObject(params, function(err, data) { if (err) { console.log(err, err.stack); } else { var object = JSON.parse(data.Body.toString()); console.log(object); } }