Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider supporting (Slack) notifications via AWS ChatBot #91

Open
reisingerf opened this issue Mar 25, 2024 · 1 comment
Open

Consider supporting (Slack) notifications via AWS ChatBot #91

reisingerf opened this issue Mar 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@reisingerf
Copy link

AWS Chatbot natively supports integration with Slack without the need for a custom Lambda.

For an idea of how that may work, see here.

@EYssel EYssel added the enhancement New feature or request label Mar 25, 2024
@reisingerf
Copy link
Author

Turns out this may not be as straight forward as I was hoping.

While this should work in principle, it may run into practical issues.

The suggested code assumes that it can create a new SlackChannelConfiguration. However, AWS currently only supports a single SlackChannelConfiguration per channel. So if that SlackChannelConfiguration has already been setup (somewhere, somehow), this will fail with a "Slack channel ... has already been configured" error.

While a SlackChannelConfiguration can be imported into a stack, it would be read-only, i.e. no new topics could be added. See here for context.

I think an alternative could be to use an existing SNS Topic rather than creating a new one. A topic that's provided by the same stack/process that's in control of the SlackChannelConfiguration.

However, that means the monitored queue would need to support an existing SNS topic (ITopic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants