禁用CloudWatch以监视Lambda功能的日志 [英] Disable CloudWatch to monitor logs for Lambda function

查看:125
本文介绍了禁用CloudWatch以监视Lambda功能的日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以禁用CloudWatch来记录Lambda Function的事件?

Is there any possible way to disable CloudWatch to log Lambda Function's events? If possible, then what are the steps to do this.

推荐答案

根据我的理解,日志输出是默认行为如果您使用lambda函数进行任何测试。但是,仅当您的lambda角色有权写入CloudWatch时,日志才会存储在CloudWatch日志组中。

As per my understanding log output is generated by as a default behavior if you do any tests with lambda function. However, the logs are stored in CloudWatch log group only if your lambda role has permission to write to CloudWatch.

这篇关于禁用CloudWatch以监视Lambda功能的日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆