This package has been deprecated

Author message:

This module is no longer maintained. It is provided as is.

@mapbox/s3touch

0.3.0 • Public • Published

s3touch

s3touch

Utility to simulate S3 events without actually re-PUTing objects to S3.

Usage: s3touch <s3 path> [--topic <arn string>]

# touch a single object
s3touch s3://my-bucket/some-object

# touch all objects under a prefix
s3touch --recursive s3://my-bucket/some-prefix/

# touch a single object with custom SNS topic
s3touch s3://my-bucket/some-object --topic arn:aws:sns:us-east-1:1234:this-bucket-s3-events
  • Looks up SNS topic that is subscribed to the given S3 bucket,
  • Looks up information about some-object (size, etag),
  • and sends a simulated S3 event message to the SNS topic already set within the bucket or to the SNS topic explictly sent via the --topic flag

Install

npm install -g s3touch

Readme

Keywords

none

Package Sidebar

Install

npm i @mapbox/s3touch

Weekly Downloads

2

Version

0.3.0

License

ISC

Last publish

Collaborators

  • mbx-npm-ci-production
  • mbx-npm-ci-staging
  • mbx-npm-advanced-actions-production
  • mbx-npm-advanced-actions-staging
  • mbx-npm-09-production
  • mbx-npm-08-production
  • mbx-npm-07-production
  • mbx-npm-06-production
  • mbx-npm-05-production
  • mbx-npm-04-production
  • mbx-npm-03-production
  • mbx-npm-02-production
  • mbx-npm-01-production
  • mbx-npm-02-staging
  • mapbox-npm-01
  • mapbox-npm-02
  • mapbox-npm-07
  • mapbox-npm-03
  • mapbox-npm-04
  • mapbox-npm-09
  • mapbox-npm-05
  • mapbox-npm-06
  • mapbox-npm-08
  • mapbox-npm-advanced-actions
  • mapbox-npm-ci
  • mapbox-npm
  • mapbox-admin
  • mapbox-machine-user