node package manager


Amazon AWS CloudFront client for Node.js

Amazon CloudFront client for Node.js

Implements all the functionality in CloudFront version 2012-05-05. In addition, is there a getPrivateUrl method to create signed urls.

Please take a look at the examples folder.

npm install cloudfront
var cloudfront = require('cloudfront');
var cf = cloudfront.createClient('access key id', 'access key secret');
cf.listDistributions(function(errlistinfo) {
  console.log('Is truncated?', info.isTruncated ? 'yes' : 'no');

Please take a look at the examples in the example folder.