AwsLambdaFunctionLoggingArgs
interface AwsLambdaFunctionLoggingArgs {
applicationLogLevel?: Input<string>;
logFormat?: Input<string>;
logGroup: AwsCloudwatch;
systemLogLevel?: Input<string>;
}Lambda advanced logging settings for AwsLambdaFunctionArgs.
Example
CODE
const logging: AwsLambdaFunctionLoggingArgs = {
logGroup: applicationLogGroup,
logFormat: 'JSON',
applicationLogLevel: 'INFO',
systemLogLevel: 'WARN',
};Properties
applicationLogLevel: Input<string>
Application log level.
logFormat: Input<string>
Log format. Valid values are Text and JSON.
logGroup: AwsCloudwatch
Required CloudWatch log-group reference used by Lambda logging when logging is configured.
systemLogLevel: Input<string>
Lambda platform log level.