Can you make action execution for rulesets conditional?

0

Hello,
So I have a fairly simple email forwarder using the standard S3/Lambda way with python.

I want to achieve that messages that eg. fail some condition in the Lambda script are bounced with ses actions.
Currently these messages are just silently dropped.

So I was wondering if I could just add a bounce action after the Lambda action that only gets executed is something is wrong.

So when lambda thinks everything is alright it just stops the execution of the ruleset after the lambda action and when something is wrong
it simply lets the ruleset continue to the bounce action?

Is something like that at all possible or not? I do have some execution infos through the context object, can that be somehow used for this?

Thanks for any ideas

jschulz
asked 3 years ago202 views
1 Answer
0

well looks like i should read the doc properly :D

seems like exactly what i need can be achieved by synchronous RequestResponse invokation with the disposition property

jschulz
answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions