4

How to trigger the lambda function only for INSERT event in dynamodb stream?

To reduce the cost of the lambda function, is it possible to trigger the lambda function based on the type of operation

  1. INSERT - insert_lambda_function
  2. MODIFY - update_lambda_function
  3. REMOVE - delete_lambda_function
1
  • 1
    You would need to put code at the start of the Lambda function to determine whether or not to process the message. The function can then exit very quickly, probably only costing 100ms of usage. Commented Oct 2, 2020 at 3:36

1 Answer 1

4

No, this is not currently possible.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.