forked from DNXLabs/terraform-aws-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cf-chatbot.yml
44 lines (41 loc) · 1.1 KB
/
cf-chatbot.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'CloudFormation Chatbot'
Parameters:
ConfigurationNameParam:
Type: String
SlackChannelIdParam:
Type: String
SlackWorkspaceIdParam:
Type: String
SnsTopicArnsParam:
Type: CommaDelimitedList
IamRoleArnArnParam:
Type: String
LoggingLevelParam:
Type: String
Description: Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs. Logging levels include ERROR, INFO, or NONE.
AllowedValues:
- ERROR
- INFO
- NONE
Resources:
Chatbot:
Type: AWS::Chatbot::SlackChannelConfiguration
Properties:
ConfigurationName:
!Ref ConfigurationNameParam
IamRoleArn:
!Ref IamRoleArnArnParam
SlackChannelId:
!Ref SlackChannelIdParam
SlackWorkspaceId:
!Ref SlackWorkspaceIdParam
SnsTopicArns:
!Ref SnsTopicArnsParam
LoggingLevel:
!Ref LoggingLevelParam
Outputs:
ConfigurationArn:
Description: The ARN of the Chatbot Slack configuration
Value: !Ref Chatbot