Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.3.1
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (17 sloc) 0.69 kb

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.

How to Install

npm install cloudfront

How to use

var cloudfront = require('cloudfront');

var cf = cloudfront.createClient('access key id', 'access key secret');

cf.listDistributions(function(err, list, info) {
  console.log('Is truncated?', info.isTruncated ? 'yes' : 'no');
  console.log(list);
});

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

License

MIT

Jump to Line
Something went wrong with that request. Please try again.