Socket
Book a DemoInstallSign in
Socket

@bugsplat/gulp-cloudfront-invalidate

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bugsplat/gulp-cloudfront-invalidate

A gulp plugin that allows you to invalidate paths in AWS cloudfront

0.1.7
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

gulp-cloudfront-invalidate

A gulp plugin that allows you to invalidate paths in AWS cloudfront

Installation

npm install gulp-cloudfront-invalidate

Usage

var gulp = require('gulp')
  , cloudfront = require('gulp-cloudfront-invalidate');

var settings = {
  distribution: 'E2A654H2YRPD0W', // Cloudfront distribution ID
  paths: ['/index.html']          // Paths to invalidate
  accessKeyId: '...',             // AWS Access Key ID
  secretAccessKey: '...',         // AWS Secret Access Key
  sessionToken: '...',            // Optional AWS Session Token
  wait: true                      // Whether to wait until invalidation is completed (default: false)
}

gulp.task('invalidate', function () {
  return gulp.src('*')
    .pipe(cloudfront(settings));
});

If you like this project, please watch this and follow me.

Contributors

Here is a list of Contributors

I accept pull requests and guarantee a reply back within a day

License

MIT/X11

Bug Reports

Report here. Guaranteed reply within a day.

Contact

Josh Burgner (jburgner@gmail.com)

Follow me on github

Keywords

gulp

FAQs

Package last updated on 18 Jul 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.