# LoggingConfigProperty

The logging configuration.

- Source: Generated at build time
- Type last changed: v2.273.0 · 8 Oct 2026

## 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.CfnWebFunctionRevision.LoggingConfigProperty = {
  applicationLogLevel: 'applicationLogLevel',
  logGroup: 'logGroup',
  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.CfnWebFunctionRevision.LoggingConfigProperty(
    application_log_level="applicationLogLevel",
    log_group="logGroup",
    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()
        .applicationLogLevel("applicationLogLevel")
        .logGroup("logGroup")
        .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 {
    ApplicationLogLevel = "applicationLogLevel",
    LogGroup = "logGroup",
    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{
	ApplicationLogLevel: jsii.String("applicationLogLevel"),
	LogGroup: jsii.String("logGroup"),
	SystemLogLevel: jsii.String("systemLogLevel"),
}
```

## Properties

- `applicationLogLevel`: string — The application log level.

- `logGroup`: string — The CloudWatch log group name.

- `systemLogLevel`: string — The system log level.
