How to pass device token to sns


Hi, i am trying integrate AWS SNS in node red, where firstly i have to send the deviceToken to register particular device, i am trying to use SNS node where i can manually set the token, but i have to pass as input from function node, how can i achieve this?