LoggingConfigProperty Struct
The function's Amazon CloudWatch Logs configuration settings.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const loggingConfigProperty: lambda.CfnEventSourceMapping.LoggingConfigProperty = {
systemLogLevel: 'systemLogLevel',
};
Properties
systemLogLevelstringsystem_log_levelstrsystemLogLevelStringSystemLogLevelstringSystemLogLevel*string#Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.