forked from assertible/lambda-cloudwatch-slack
/
config.js
29 lines (27 loc) · 1.37 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
kmsEncryptedHookUrl: "<kmsEncryptedHookUrl>", // encrypted slack webhook url
unencryptedHookUrl: "<unencryptedHookUrl>", // unencrypted slack webhook url
slackChannel: "#general", // slack channel to send a message to
slackUsername: "AWS SNS via Lamda", // slack username to user for messages
region: "us-east-1", // default region for links in services that dont include region in sns
icon_emoji: ":robot_face:", // slack emoji icon to use for messages
orgIcon: "", // url to icon for your organization for display in the footer of messages
orgName: "", // name of your organization for display in the footer of messages
services: {
elasticbeanstalk: {
match_text: "ElasticBeanstalkNotifications" // text in the sns message or topicname to match on to process this service type
},
cloudwatch: {
match_text: "CloudWatchNotifications" // text in the sns message or topicname to match on to process this service type
},
codedeploy: {
match_text: "CodeDeploy" // text in the sns message or topicname to match on to process this service type
},
elasticache: {
match_text: "ElastiCache" // text in the sns message or topicname to match on to process this service type
},
autoscaling: {
match_text: "AutoScaling" // text in the sns message or topicname to match on to process this service type
}
}
}