Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

awssum-amazon-cloudfront

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awssum-amazon-cloudfront - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

config.js

@@ -12,3 +12,3 @@ // --------------------------------------------------------------------------------------------------------------------

var data2xml = require('data2xml');
var data2xml = require('data2xml')({ attrProp : '@', valProp : '#', });

@@ -64,3 +64,3 @@ // --------------------------------------------------------------------------------------------------------------------

var data = {
_attr : { 'xmlns' : 'http://cloudfront.amazonaws.com/doc/2010-11-01/' },
'@' : { 'xmlns' : 'http://cloudfront.amazonaws.com/doc/2010-11-01/' },
};

@@ -141,3 +141,3 @@

var data = {
_attr : { 'xmlns' : 'http://cloudfront.amazonaws.com/doc/2010-11-01/' },
'@' : { 'xmlns' : 'http://cloudfront.amazonaws.com/doc/2010-11-01/' },
};

@@ -195,3 +195,3 @@

var data = {
_attr : { xmlns : 'http://cloudfront.amazonaws.com/doc/2010-11-01/', },
'@' : { xmlns : 'http://cloudfront.amazonaws.com/doc/2010-11-01/', },
CallerReference : args.CallerReference,

@@ -198,0 +198,0 @@ };

{
"name" : "awssum-amazon-cloudfront",
"description" : "NodeJS module to talk to Amazon CloudFront.",
"version" : "1.0.0",
"description" : "AwsSum plugin for Amazon CloudFront.",
"version" : "1.0.1",

@@ -6,0 +6,0 @@ "main" : "awssum-amazon-cloudfront.js",

@@ -5,2 +5,36 @@ # awssum-amazon-cloudfront #

You'll need to add [awssum-amazon-cloudfront](https://github.com/awssum/awssum-amazon-cloudfront/) to your package.json
dependencies. Both [awssum](https://github.com/awssum/awssum/) and
[awssum-amazon](https://github.com/awssum/awssum-amazon/) are pulled in as peer dependencies.
## Example ##
To list all your distributions:
```
var fmt = require('fmt');
var amazonCloudFront = require('awssum-amazon-cloudfront');
var cf = new amazonCloudFront.CloudFront({
'accessKeyId' : process.env.ACCESS_KEY_ID,
'secretAccessKey' : process.env.SECRET_ACCESS_KEY,
'region' : amazonS3.US_EAST_1
});
cf.ListDistributions(function(err, data) {
fmt.dump(err, 'err');
fmt.dump(data, 'data');
});
```
# Author #
Written by [Andrew Chilton](http://chilts.org/) - [Blog](http://chilts.org/blog/) -
[Twitter](https://twitter.com/andychilton).
# License #
* [Copyright 2011-2013 Apps Attic Ltd. All rights reserved.](http://appsattic.mit-license.org/2011/)
* [Copyright 2013 Andrew Chilton. All rights reserved.](http://chilts.mit-license.org/2013/)
(Ends)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc