AWS SNS subscription
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 06:49 AM
Hello
I am having problems with subscribing to an SNS topic from ServiceNow, the subscription is being listed in ServiceNow but the "Subscription URL" is showing as undefined, so we are unable to subscribe to it. these are the steps I have followed:
Navigate to System Applications -> Studio, and choose [Import From Source Control].
Import https://github.com/byukich/x_snc_aws_sns
Create topic in AWS
Create Subscription with HTTPS and backend https://aws_sns:<ServiceNow admin password>@<your developer instance>.service-now.com/api/x_snc_aws_sns/aws_sns
Subscription is created in SNow but subscription URL is undefined
This is the blog post I followed:
Any insite would be much appreciated!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 07:36 AM
Hi @russellprice ,
Here's a recommended approach:
-
Set up an AWS SNS topic: Create an SNS topic in the AWS Management Console. This topic will act as a message bus for sending incidents to ServiceNow.
-
Create an AWS Lambda function: Develop an AWS Lambda function using your preferred programming language (such as Python or Node.js). This function will be responsible for receiving the SNS messages and transforming them into ServiceNow incidents.
-
Configure SNS subscriptions: Subscribe the AWS Lambda function to the SNS topic. This ensures that the Lambda function is triggered whenever an incident is published to the topic.
-
Integrate ServiceNow with AWS Lambda: In ServiceNow, use the "Scripted REST API" feature to create an API endpoint that will receive the incidents from AWS Lambda. Write a script to parse the incident data and create new incidents within the ServiceNow platform.
-
Test and validate: Once the integration is set up, perform thorough testing to ensure that incidents published to AWS SNS are correctly received and processed in ServiceNow.
https://aws.amazon.com/blogs/mt/servicenow-incidents-for-license-manager/
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 08:04 AM
Hi AJ
Thanks for the quick reply!
Unfortunately creating Lambda functions and REST API scripts is beyond my skillset
I was hoping to troubleshoot the method i originally listed
Thanks
Russell