title: AWS SNS push messaging, how to send message to mobile user based on custom tag, attribute like email id or user-id?
body: <p>If I have devices register with AWS SNS can I also add some custom fields like email ID, user ID? Then later can I send message to the notification hub using that custom field. Like I approach ( I means the server app) to AWS SNS and send the message “Hello User1” to the device with email field has value “user1@abc.com” . And then SNS would find out your devices (if you have many registered for the app) and then send the message “Hello User1” to all your devices. </p>
  
  <p>I can see that Windows Azure cloud supports this feature using tags.
  E.g: <a href="https://msdn.microsoft.com/library/azure/dn530749.aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/library/azure/dn530749.aspx</a></p>
  
  <p>See the "using tags to target users" section in the above link and below figure.</p>
  
  <p>I am not able to see this feature in AWS SNS mobile push notifications. The topics in SNS just provides subscription model there is no filtering based on some value.
  <a href="https://i.stack.imgur.com/GmJod.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GmJod.png" alt="enter image description here"></a></p>