AWS IAM Policy that allows a Cognito User to update their own Pinpoint token ID

0

Hello,

I am working on implementing push notifications for our end-user app (iOS only right now), and I am looking to write a policy that allows the currently logged in Cognito User to update their own Pinpoint Endpoint with their token ID for APNS.

Right now there is a 1-1 relationship between Pinpoint Apps and Cognito User Pools, so I'd like for users to be able to call updateEndpoint to update with their token ID for APNS. In pseudo-code, I'd like a policy that allows

  • mobiletargeting:updateEndpoint
  • condition:
    • cognito user (or identity) == endpoint

Do you have any good ways to go about this? For what it's worth, we are not using Amplify, and we are using Flutter as the front-end.

답변 없음

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

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

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

관련 콘텐츠