1.0.12 • Published 7 years ago
swint-cloudfront-purge v1.0.12
swint-cloudfront-purge
AWS Cloudfront purge function for Swint batch task manager(swint-task)
Warning: This is not the final draft yet, so do not use this until its official version is launched
Installation
$ npm install --save swint-cloudfront-purgeOptions
code:String, default:''paths:Array, default:[]awsInfokey:String, default:''secret:String, default:''
Usage
swintCloudfrontPurge({
code: 'AAAAAAAAAAAAAA',
paths: ['/foo/*', '/bar/*'],
awsInfo: {
key: 'myKey',
secret: 'mySecret'
}
}, function(err, results) {
// ...
});