# DataSourceConfigProperty

The configuration that specifies where to read agent traces for online evaluation.

- Source: Generated code
- Type last changed: v2.242.0 · 10 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const dataSourceConfigProperty: bedrockagentcore.CfnOnlineEvaluationConfig.DataSourceConfigProperty = {
  cloudWatchLogs: {
    serviceNames: ['serviceNames'],

    // the properties below are optional
    logGroupNamePrefixes: ['logGroupNamePrefixes'],
    logGroupNames: ['logGroupNames'],
  },
};
```

## Properties

- `cloudWatchLogs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnOnlineEvaluationConfig.CloudWatchLogsInputConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnOnlineEvaluationConfig.CloudWatchLogsInputConfigProperty.html) (required) — The configuration for reading agent traces from CloudWatch logs.
