[chatbot] Support setting log retention and expose metric methods in SlackChannelConfiguration #10135
Closed
1 of 2 tasks
Labels
@aws-cdk/aws-chatbot
Related to AWS Chatbot
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
With the recent changes to LogRetention construct in #9671 and #9703 and the creation of
SlackChannelConfiguration
construct in #9679, this is a follow up to request thatSlackChannelConfiguration
exposes log retention property and metric utility methods (similar to Lambda function)Use Case
Proposed Solution
Inspired by the implementation in Lambda function
metric
andmetricAll
methodsOther
Associate #8636
SlackChannelConfiguration is different from Lambda in that it is a global service writing cloudwatch logs/metrics to
us-east-1
regardless of the region of the stack they live in.I wanted to expose a
logGroup()
method similar to lambda but the current implementation for importing the log group from arn returns an ILogGroup which implements methods e.g.addStream
,addMetricFilter
which I think assume the log is in the same region so might introduce bugs.I'm interested to hear your thoughts on this.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: