SteveS
SteveS

Reputation: 4050

Add multiple suffixes to AWS Lambda?

I am configuring a Lambda function that should take .png and .pdf files from my bucket. How can I provide Lambda config with multiple suffixes?

Here is what I want to do:

enter image description here

Please advise how to do it?

Upvotes: 0

Views: 2007

Answers (1)

Ersoy
Ersoy

Reputation: 9624

As it may seen from the tooltip description; you can't set multiple suffixes on aws console.

Enter a single optional suffix to limit the notifications to objects with keys that end with matching characters.

What you may do is to create multiple triggers and define each suffix in a separate s3 trigger.

The documentation has some sample xml configuration to support multiple/non-overlapping suffix/prefix options but i think it is not possible to set them on web console.

Upvotes: 2

Related Questions