interface CfnOnlineEvaluationConfigProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnOnlineEvaluationConfigProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnOnlineEvaluationConfigProps |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnOnlineEvaluationConfigProps |
Python | aws_cdk.aws_bedrockagentcore.CfnOnlineEvaluationConfigProps |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnOnlineEvaluationConfigProps |
Properties for defining a CfnOnlineEvaluationConfig.
Example
// 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 cfnOnlineEvaluationConfigProps: bedrockagentcore.CfnOnlineEvaluationConfigProps = {
dataSourceConfig: {
cloudWatchLogs: {
logGroupNames: ['logGroupNames'],
serviceNames: ['serviceNames'],
},
},
evaluationExecutionRoleArn: 'evaluationExecutionRoleArn',
evaluators: [{
evaluatorId: 'evaluatorId',
}],
onlineEvaluationConfigName: 'onlineEvaluationConfigName',
rule: {
samplingConfig: {
samplingPercentage: 123,
},
// the properties below are optional
filters: [{
key: 'key',
operator: 'operator',
value: {
booleanValue: false,
doubleValue: 123,
stringValue: 'stringValue',
},
}],
sessionConfig: {
sessionTimeoutMinutes: 123,
},
},
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| data | IResolvable | Data | The configuration that specifies where to read agent traces for online evaluation. |
| evaluation | string | The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. |
| evaluators | IResolvable | (IResolvable | Evaluator)[] | The list of evaluators to apply during online evaluation. |
| online | string | The name of the online evaluation configuration. |
| rule | IResolvable | Rule | The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings. |
| description? | string | The description of the online evaluation configuration. |
| tags? | Cfn[] | A list of tags to assign to the online evaluation configuration. |
dataSourceConfig
Type:
IResolvable | Data
The configuration that specifies where to read agent traces for online evaluation.
evaluationExecutionRoleArn
Type:
string
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.
evaluators
Type:
IResolvable | (IResolvable | Evaluator)[]
The list of evaluators to apply during online evaluation.
onlineEvaluationConfigName
Type:
string
The name of the online evaluation configuration.
Must be unique within your account.
rule
Type:
IResolvable | Rule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
description?
Type:
string
(optional)
The description of the online evaluation configuration.
tags?
Type:
Cfn[]
(optional)
A list of tags to assign to the online evaluation configuration.

.NET
Go
Java
Python
TypeScript