# OnlineEvaluationConfigAttributes

Attributes for importing an existing OnlineEvaluationConfig.

- Source: [`aws-bedrockagentcore/lib/evaluation/types.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/evaluation/types.ts#L523)
- Type last changed: v2.255.0 · 19 May 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 onlineEvaluationConfigAttributes: bedrockagentcore.OnlineEvaluationConfigAttributes = {
  onlineEvaluationConfigArn: 'onlineEvaluationConfigArn',
  onlineEvaluationConfigId: 'onlineEvaluationConfigId',
  onlineEvaluationConfigName: 'onlineEvaluationConfigName',

  // the properties below are optional
  executionRoleArn: 'executionRoleArn',
};
```

## Properties

- `executionRoleArn`: string — The ARN of the IAM execution role.

  **Default:** No role ARN provided

- `onlineEvaluationConfigArn`: string (required) — The ARN of the online evaluation configuration.

- `onlineEvaluationConfigId`: string (required) — The ID of the online evaluation configuration.

- `onlineEvaluationConfigName`: string (required) — The name of the online evaluation configuration.
