const aws = require('aws-sdk'); const s3 = new aws.S3(); const params = {Bucket: 'myBucket', Key: 'myJson.json'}; await s3.getObject(params).promise()