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

1개 답변
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
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠