Hi,
Is there a way to trigger lambda when an item is removed from DynamoDb table. In my serverless.yml I have this event as such:
events:
- stream:
arn: ${self:provider.environment.server_list}
type: dynamodb
When an item is removed from this dynamodb table, I want to trigger a lambda function that destroys the server. It only seems to work on any stream event. Can I only trigger only on a remove/delete stream event? Where may this be documented?
Thanks!
Gary