Quantcast
Channel: Serverless Forums - Latest posts
Viewing all articles
Browse latest Browse all 105

DynamoDB stream filtering using userIdentity

$
0
0

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

Viewing all articles
Browse latest Browse all 105

Latest Images

Trending Articles





Latest Images