Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support s3 direct to lambda replays #3

Open
rs-sathya opened this issue Jun 15, 2022 · 0 comments
Open

support s3 direct to lambda replays #3

rs-sathya opened this issue Jun 15, 2022 · 0 comments

Comments

@rs-sathya
Copy link

I had to change the event data structure to fit a direct-to-lambda s3 event setup.

This was not a blocker because I was still able to hand-modify and run the code. However, it would be nice to support this use-case natively. The code is so close to supporting it already!

event structure to support:

{
  "Records": [
    {
      "EventSource": "aws:s3",
      "EventVersion": "2.1",
      "EventSubscriptionArn": "arn:aws:sns:us-west-2:0000:s3-sns-lambda-replay-XXXX:1234-123-12-12",
      "eventName": "ObjectCreated:Put",
      "s3": {
        "bucket": {"name": "my-bucket-name"},
        "object": {"key": "incoming/catalog/2022/05/31/23/example.gz", "size": 70601}
      }
    }, 
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant