确认Slack Webhook的AWS SNS主题订阅 [英] Confirming AWS SNS Topic Subscription for Slack Webhook

查看:187
本文介绍了确认Slack Webhook的AWS SNS主题订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在集成SNS和Slack.我创建了一个启用了传入Webhook的Slack应用程序.我有webhook URL.我使用HTTPS协议为SNS主题创建了一个订阅,并将端点设置为webhookURL.现在,订阅为PendingConfirmation.我没有在预定的频道中收到任何确认消息.

I am integrating SNS and Slack. I have created a slack app with incoming webhook enabled. I have got the webhook URL. I created a subscription for a SNS Topic with HTTPS protocol and set the Endpoint the webhookURL. Now the subscription is PendingConfirmation. I didnot receive any confirmation message, not in the destined channel.

如何确认订阅?

推荐答案

您无需创建Lambda函数或使用Slack创建HTTPS订阅.

You don't need to create a lambda function or create an HTTPS subscription with Slack.

在松弛的频道上,添加电子邮件集成"应用.完成后,Slack将为您提供一个具有slack.com域的电子邮件地址.

On your slack channel, add the "email integration" app. Once done, Slack will provide you an email address with slack.com domain.

发送到该地址的电子邮件将被导入到您的备用频道中.

Emails sent to this address will be imported into your slack channel.

然后,在SNS上创建电子邮件订阅并提供上面的备用电子邮件.

Then, on SNS create an email subscription and provide the slack email above.

这篇关于确认Slack Webhook的AWS SNS主题订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆