Giter Site home page Giter Site logo

s3watcher's People

Contributors

zzsi avatar

Watchers

 avatar

s3watcher's Issues

S3Watcher

๐Ÿš€ Feature Request

Implement an S3Watcher class to watch S3 events using an existing SQS queue.

๐Ÿ”ˆ Motivation

This is the main functionality of this repo.

๐Ÿ“Ž Additional context

Reference: https://github.com/dbnicholson/s3watcher.

Set up SQS and S3 event notification

๐Ÿš€ Feature Request

S3Watcher.watch() should trigger the provisioning of a SQS queue that listens to S3 event notifications. boto3 can be used to handle the infrastructure setup.

๐Ÿ”ˆ Motivation

This is necessary for S3Watcher to work.

๐Ÿ›ฐ Alternatives

Terraform and pulumi can be good declarative tools if we don't use boto3.

๐Ÿ“Ž Additional context

The s3 event notification configuration may look like (in XML, though JSON can be used too):

<NotificationConfiguration>
  <QueueConfiguration>
      <Id>1</Id>
      <Filter>
          <S3Key>
              <FilterRule>
                  <Name>prefix</Name>
                  <Value>images/</Value>
              </FilterRule>
              <FilterRule>
                  <Name>suffix</Name>
                  <Value>jpg</Value>
              </FilterRule>
          </S3Key>
     </Filter>
     <Queue>arn:aws:sqs:us-west-2:444455556666:s3notificationqueue</Queue>
     <Event>s3:ObjectCreated:Put</Event>
  </QueueConfiguration>
</NotificationConfiguration>

Reference:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.