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

[Migrated] Add on Docs: event_source from S3 with key_filters #446

Closed
jneves opened this issue Feb 20, 2021 · 1 comment
Closed

[Migrated] Add on Docs: event_source from S3 with key_filters #446

jneves opened this issue Feb 20, 2021 · 1 comment

Comments

@jneves
Copy link
Contributor

jneves commented Feb 20, 2021

Originally from: Miserlou/Zappa#1181 by ebertti

Something like this:

    {
        "function": "module.my_function",
        "event_source": {
          "arn":  "arn:aws:s3:::my-bucket",
          "key_filters": [
            {
              "type": "prefix",
              "value": "my-prefix"
            },
            {
              "type": "sufix",
              "value": ".jpg"
            }
          ],
          "events": [
            "s3:ObjectCreated:*"
          ]
        }
      }
@monkut
Copy link
Collaborator

monkut commented Dec 1, 2022

released in 0.56.0, closing.

@monkut monkut closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants