I'm using the following function definition:
missing:
handler: functions/eeegMissing.handler
events:
- sns: arn:aws:sns:us-west-2:xxx
filterPolicy:
type:
- EPILOG_PAGE_DATA_RECEIVED
The SNS topic already exists. When I deploy it, a subscription is created with the name
arn:aws:lambda:us-west-2:xxx:function:eeeg-dev-missing`
but the filter is blank. I would expect the filter to show as:
{ "type":["EPILOG_PAGE_DATA_RECEIVED"]}
What am I missing?