New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

hubot-cloudfront

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-cloudfront

A Hubot script to list and invalidate CloudFront distributions

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
17
30.77%
Maintainers
1
Weekly downloads
 
Created
Source

hubot-cloudfront

Build Status npm-version

A Hubot script to list and invalidate Amazon CloudFront distributions.

me > hubot cloudfront list distributions
hubot > - 0: E2SO336F6AMQ08 --------------------
          domain: d1ood20dgya2ll.cloudfront.net
          status: InProgress
          comment: Distribution for static.liap.us

        - 1: E29XRZTZN1VOAV --------------------
          domain: d290rn73xc4vfg.cloudfront.net
          status: Deployed
          invalidation batches in progress: 10

me > hubot cloudfront list invalidates 1
hubot > I14NJQR76VVQAT - InProgress
        I3MAZE9OBGZ05X - Completed

me > hubot cloudfront invalidate 1 /index.html /atom.xml /images/*.png
hubot > Invalidation I14NJQR76VVQAT on distribution E29XRZTZN1VOAV created.
        It might take 10 to 15 minutes until all files are invalidated.

Commands

hubot cloudfront list distributions (<query>)
hubot cloudfront list invalidations <distribution id or index>
hubot cloudfront invalidate <distribution id or index> <path0> <path1> ...

Installation

  • Add hubot-cloudfront to dependencies.
npm install --save hubot-cloudfront
  • Update external-scripts.json
["hubot-cloudfront"]

Configuration

HUBOT_AWS_ACCESS_KEY_ID
HUBOT_AWS_SECRET_ACCESS_KEY

Author

Atsushi Nagase

License

MIT License

Keywords

hubot

FAQs

Package last updated on 05 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts