# TelemetryConfigProperty

The telemetry 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 telemetryConfigProperty: lambda.CfnWebFunctionRevision.TelemetryConfigProperty = {
  loggingConfig: {
    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_

telemetry_config_property = lambda.CfnWebFunctionRevision.TelemetryConfigProperty(
    logging_config=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.*;

TelemetryConfigProperty telemetryConfigProperty = TelemetryConfigProperty.builder()
        .loggingConfig(LoggingConfigProperty.builder()
                .applicationLogLevel("applicationLogLevel")
                .logGroup("logGroup")
                .systemLogLevel("systemLogLevel")
                .build())
        .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 telemetryConfigProperty = new TelemetryConfigProperty {
    LoggingConfig = 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"

telemetryConfigProperty := &TelemetryConfigProperty{
	LoggingConfig: &LoggingConfigProperty{
		ApplicationLogLevel: jsii.String("applicationLogLevel"),
		LogGroup: jsii.String("logGroup"),
		SystemLogLevel: jsii.String("systemLogLevel"),
	},
}
```

## Properties

- `loggingConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebFunctionRevision.LoggingConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.CfnWebFunctionRevision.LoggingConfigProperty.html) — The logging configuration.
