Fetch distributions and invalidate with hubot-cloudfront
·1 min read

I published a Hubot script to fetch Amazon CloudFront distribution list and invalidate objects.
npm install --save hubot-cloudfrontList Distributions
Lists distributions with ID, domain name, status, comment and number of invalidation batches (if exists).
Shortcut:
Create invalidations
You can use either ID and 0-based index number (on the left of distribution ID) to specify distribution.
Shortcut:
After creating invalidations, Hubot checks every 1 minute and notifies if completed.
List invalidations
List distribution with ID or 0-based index number.
Shortcut: