Hello,
I’m tryng to use the event filtering for my dynamodb table based off of TTL expirations.
This is the page all about it,
But when I try and make this into a serverless config I get ‘unsupported function event’
functions:
hello:
handler: handler.hello
events:
- stream:
type: dynamodb
arn: arn:aws:dynamodb:eu-west-2:XXXXXX:table/mytable/stream/2024-03-26T15:38:22.233
filterPatterns:
- userIdentity:
type:
- Service
principalId:
- dynamodb.amazonaws.com