Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.
/ s3touch Public archive

Trigger S3 event notifications for objects in an s3 bucket

License

Notifications You must be signed in to change notification settings

mapbox/s3touch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌇 As of January 2020, this module is deprecated. It is provided as-is, with no warranty. We are not accepting new bugfixes or feature requests at this time.

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

About

Trigger S3 event notifications for objects in an s3 bucket

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published