https://github.com/doitintl/awslack
Get Slack notifications on AWS CloudWatch events
https://github.com/doitintl/awslack
aws awslambda cloudformation cloudwatch-events slack
Last synced: 11 months ago
JSON representation
Get Slack notifications on AWS CloudWatch events
- Host: GitHub
- URL: https://github.com/doitintl/awslack
- Owner: doitintl
- Created: 2017-06-29T08:17:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T17:57:16.000Z (over 3 years ago)
- Last Synced: 2024-04-14T23:38:08.575Z (almost 2 years ago)
- Topics: aws, awslambda, cloudformation, cloudwatch-events, slack
- Language: JavaScript
- Homepage: https://www.doit-intl.com/labs
- Size: 10.3 MB
- Stars: 19
- Watchers: 6
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWSlack
## Prerequisites
- A valid `AWS` Account.
- Any `AWS` supported browser. ( Chrome / Firefox / Safari etc. )
## Generate Slack API Token
- Go to https://.slack.com/apps/new/A0F7YS25R-bots
- Enter a name for the bot to post with. (i.e. @aws)
- Click `Add bot integration`.
- Wait until the UI displays the `API Token` and copy the string (i.e. xxxx-yyyyyyyyyyyy-zzzzzzzzzzzzzzzzzzzzzzzz).
- Keep this token for using in the next step.
- Don't forget to invite your new bot to a channel by `@` mentioning it.
## Deployment
- Hold down the `Ctrl` button and Click the `Launch Stack` button to deploy the stack into your account:
- Paste your `API Token` in the `SlackAPIToken` parameter.
- The bot will publish messages to the channel in the `DefaultSlackChannel` parameter. The default is `aws`.
- Click `Next` and Confirm all steps until the stack deploys.
## Configure
- Open your browser at [AWS DynamoDB Console](https://console.aws.amazon.com/dynamodb/home)
- Switch to the `Tables` tab.
- Select the `awslack.tests` table and go to the `Items` tab.
- You can add new tests or change/delete existing tests.
- You can change the `slackChannel` attribute of each test to another Slack channel.
- Select the `awslack.configs` table and go to the `Items` tab.
- You can edit the slackAPIToken and set the `value` to another slack API token.