I am writing a project where I need to process DynamoDB table inserts and updates in Chalice. I see in Chalice events processing for SNS, SQS, scheduler but not for DynamoDB table. Currently it is not in Chalice, but AWS definitely can do it. What is a recommended workaround?
I do it manually without triggering but it is not as good due to separation of concerns and modularity
I would like to have it something like:
@app.on_dynamodb_table_trigger(table='mytable', event='insert')
def myhandler(event):
for record in event:
domyligic()
I need my domyligic() function to be called on insert event into table 'mytable'