aws-slack-notifications

module
v0.0.0-...-1b32fef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2020 License: MIT

README

Serverless Go Report Card License

AWS Slack Notifications

A generic set up for sending AWS notifications to Slack.

Uses:

  • Golang
  • Serverless

Services

Notifications are set up as individual Serverless services, making them deployable individually. While sharing common code.

CodePipeline Notifications
GuardDuty Notifications

Service Setup

AWS

Serverless Guide to AWS Credentials Setup

Slack

1. Login to https://api.slack.com/apps and Create New App

  • The App name you use will be the user reporting the notifications in slack
  • The App will need to be installed for you to get an OAuth token.
Required Permissions

These are service specific (see Service README) but commonly:

chat:write:bot # Send messages as AWS Notifications
Environment Variables

These are service specific (see Service README) but commonly:

export AWS_SLACK_NOTIFICATIONS_OAUTH_ACCESS_TOKEN=xoxp-825209819346-837534187124-837535618052-6597eb2eaceccd85340e0fe5033b43db

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL