Forum Discussion
I have shared sample pipelines on the “Showcase” section. You should be able to find the pipeline under Endpoints / AWS SQS.
You could use the JMS Producer to send message to AWS SQS and JMS Consumer to retrieve AWS SNS messages.
Thank you @aleung but this doesn’t address my issue and question. I don’t have a problem publishing and consuming messages from SQS. My problem is only with publishing to SNS topic since there isn’t snap to handle SNS topic publishing. I was wondering if there is a workaround either by using REST or javascript snaps to achieve that purpose.
- aleung8 years agoContributor III
In that case you need to get AWS CLI and python install it in your groundplex. Once you have this setup, you could try using “Execute Command Line” under Utilties folder in Box to execute: aws sns publish.
Reference: publish — AWS CLI 1.25.66 Command Reference
- mohamadelmardin8 years agoNew Contributor III
So you are referring me to use the CLI AWS SDK to integrate with SNS at runtime I have two questions there:
-
I was able to download and run commands with AWS CLI on my local desktop machine but not sure how I would execute this command from my pipeline and after I set up and download CLI on groundplex. You mentioned Utilities folder in Box but were can I find it? Are you referring to Box (online file sharing service) snap pack or something else that I am completely out of context on? Also where is that Utilities folder located?
-
Can I use another AWS SDK instead of CLI such as JavaScript or Python? The reason I mentioned these two other SDKs because I could leverage a script snap that supports any of these two languages and call the SNS API there. I am fine with the CLI if it works but I am just hinting for other suggestions if possible.
-