SNS subscription filter policy for message body that is not JSON

0

Is it possible to filter an SNS message in an SNS subscription filter policy for a message body that is just a string and not JSON?

Thanks,

David

David T
질문됨 7달 전706회 조회
2개 답변
2
수락된 답변

Hello.

The message to filter must be a JSON payload.
https://repost.aws/knowledge-center/sns-troubleshoot-message-filtering

  • Check that you are passing the correct message attributes.
  • For message body filtering, check that the message payload is a well-formed JSON object. For more information, see this blog for payload-based message filtering.
  • Check the SNS Amazon CloudWatch metrics shown here to verify if the data point is populated for them:
profile picture
전문가
답변함 7달 전
profile picture
전문가
검토됨 7달 전
profile picture
전문가
검토됨 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠