# Publish to AWS SNS

**URL:** <https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602>\
**Category:** 3rd Party Modules\
**Created:** [November 21, 2013, 7:25am UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602 "2013-11-21T07:25:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![surya](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@surya](https://forum.inductiveautomation.com/u/surya)\
**Post date:** [November 21, 2013, 7:25am UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/1 "2013-11-21T07:25:06Z")

</div>

Hi,  
I want to publish to an SNS end point in place of inserting in database. Can I do it by writing a module? Can someone please help me with the basics? I’m completely new to this.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 21, 2013, 6:57pm UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/2 "2013-11-21T18:57:10Z")

</div>

Can you tell us a little more about what you’re trying to accomplish?

---

<div class="post-metadata">

**Author:** ![surya](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@surya](https://forum.inductiveautomation.com/u/surya)\
**Post date:** [November 24, 2013, 9:39pm UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/3 "2013-11-24T21:39:33Z")

</div>

We have a system which reads from SNS directly, and a system running Ignition.It is currently inserting values into a database. I want to skip this part, and instead publish to a SNS topic. Is ignition flexible enough to make an API call with the data instead of inserting into a DB?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 24, 2013, 10:02pm UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/4 "2013-11-24T22:02:50Z")

</div>

I guess I’m not clear on which data you’re talking about and at what point in time you want to capture it and make that API call.

---

<div class="post-metadata">

**Author:** ![surya](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@surya](https://forum.inductiveautomation.com/u/surya)\
**Post date:** [November 24, 2013, 10:43pm UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/5 "2013-11-24T22:43:28Z")

</div>

Sorry for my vague response, even I’m not clear on what happens with ignition. I’ll try to explain as many details as I know of:  
Ignition is the software our clients use to record physical movement of some goods. Currently they say they are able to configure a database connection and record this specific event(when the goods move) into a SQL db. From our side, we have a system which listens on to a SNS end point, and it will be very easy for us if the data present in SNS. We thought of reading from sql db, then publishing to sns, but it is a costly operation. I want to see if there is a way, where we can intercept it inserting this goods-movement data and send it to a sns end point.

---

<div class="post-metadata">

**Author:** ![surya](https://avatars.discourse-cdn.com/v4/letter/s/8e8cbc/32.png) [@surya](https://forum.inductiveautomation.com/u/surya)\
**Post date:** [December 3, 2013, 9:16pm UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/6 "2013-12-03T21:16:58Z")

</div>

Can anyone help me with this?

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [December 7, 2013, 1:33am UTC](https://forum.inductiveautomation.com/t/publish-to-aws-sns/7602/7 "2013-12-07T01:33:39Z")

</div>

I am guessing the goods movement is part of a tag change event. They could create a gateway script on that tag change to fire a script (python) which could send to the SNS API.
