[英]AWS CloudWatch logs in multiple regions
I created a lambda function in us-east-1 and sns topic to send notifications to a slack channel.我在us-east-1和 sns 主题中创建了一个 lambda function 以将通知发送到松弛通道。
Now I also want to use logs from a service in us-west-2 to trigger the notifications but I can't because they are in different regions.现在我还想使用us-west-2中服务的日志来触发通知,但我不能,因为它们位于不同的区域。
Whats the best way to handle this?处理这个问题的最佳方法是什么? I could just copy the Lambda function/sns topic into us-west-2 but that seems redundant....
我可以将 Lambda 函数/sns 主题复制到us-west-2中,但这似乎是多余的......
Thanks谢谢
I decided to go with separate lambda functions in each region.我决定 go 在每个区域具有单独的 lambda 功能。
Since Network Manager is only available in US West 2 and the messages being processed will be specific to that region.由于网络管理器仅在美国西部 2 可用,并且正在处理的消息将特定于该区域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.