# LoggingConfigProperty

The function's Amazon CloudWatch Logs configuration settings.

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```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',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lambda as lambda_

logging_config_property = lambda.CfnEventSourceMapping.LoggingConfigProperty(
    system_log_level="systemLogLevel"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;

LoggingConfigProperty loggingConfigProperty = LoggingConfigProperty.builder()
        .systemLogLevel("systemLogLevel")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;

var loggingConfigProperty = new LoggingConfigProperty {
    SystemLogLevel = "systemLogLevel"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

loggingConfigProperty := &LoggingConfigProperty{
	SystemLogLevel: jsii.String("systemLogLevel"),
}
```

## Properties

- `systemLogLevel`: 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.
