Serverless Slack Notifications — No Code!

Sudosoul
Sudosoul
Jul 14, 2018 · 9 min read

1. Create a New API Gateway


2. Create a New API Resource


3. Create a New API Method

4. Configure the API Method


5. Create an Integration Request Mapping Template




6. Deploy your New API

7. Create a New SNS Subscription

8. Testing the Subscription

9. Integration Request Mapping Template Explained



{
"text": "the subscription url here"
}

*$input.path('$.Subject')*\n
``` $util.escapeJavaScript($input.path('$.Message')).replaceAll('"','\"')```
{
"text": "{ "key": "value"}"
}

10. Wrapping Up

Sudosoul

Written by

Sudosoul

AWS Solutions Architect with focus on Serverless

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade