AWS SDK smart package
Meteor smart package for AWS SDK node.js package, providing the SDK that helps take the complexity out of coding by providing JavaScript objects for AWS services including Amazon S3, Amazon EC2, DynamoDB, and Amazon SWF.
Adding this package to your Meteor application adds AWS
object into the global scope,
which you can then use according to the documentation.
In addition to existing API, a fibers-enabled synchronous
(blocking) methods are added to objects. They are named
the same, but with a Sync
suffix.
Example using CoffeeScript:
if Meteor.settings.AWS AWS.config.update accessKeyId: Meteor.settings.AWS.accessKeyId secretAccessKey: Meteor.settings.AWS.secretAccessKey else console.warn "AWS settings missing" s3 = new AWS.S3() list = s3.listObjectsSync Bucket: 'bucketname' Prefix: 'subdirectory/' for file in list.Contents # ...
Installation
meteor add bozhao:aws-sdk