New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-cloudfront-invalidator

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

aws-cloudfront-invalidator

A CLI tool that invalidates CloudFront distributions based on the S3 origin

  • 1.2.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

AWS-CloudFront-Invalidator

Forked from cloudfront-invalidator

A command line tool that invalidates the cache of a web hosting CloudFront distribution by providing a S3 Bucket name.

Installing

install globally via npm:

npm i -g aws-cloudfront-invalidator

Usage

This program will assume the AWS region to be defined as a global variable.

If the region is not defined as a global variable, then it will retrieve the region from the ~/.aws/credentials or the ~/.aws/config.

You can read more about how the aws-sdk handles the region here

Easiest way to switch/modify the region would be to set the AWS_REGION global variable

export AWS_REGION=<your region>
// example:
export AWS_REGION=us-west-2

Examples:

cloudfront-invalidator -b [s3 bucket name]

Built With

  • aws-sdk - SDK for managing AWS resources
  • Commander - Tooling to create CLI tools with node.js

Authors

  • Qais Aboujaoude
  • Eric Swann

License

This project is licensed under the Mozilla Public License MPL License - see the LICENSE.md file for details

Keywords

FAQs

Package last updated on 29 Sep 2018

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

  • 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