I am coming from relational database background, and I am trying to experiment with AWS services. I have a dynamoDb table with following record:
------------------------------------------------
| Id | Start Timestamp | End Timestamp | Data |
------------------------------------------------
Both start and end timestamps are future timestamps and I want to trigger a AWS Lambda function when start timestamp or end timestamp arrives.
To clarify by 'arrives' I mean when start/end timestamp is equal to current timestamp, is it possible to trigger a Lambda function when this happens.
Is it possible by DynamoDb streams? I wanted a reactive way to solve this problem not the usual way to poll the Db and trigger Lambda function when actual timestamp arrives.
Thanks in advance