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',
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
clusteringConfig: {
frequencies: ['frequencies'],
},
description: 'description',
evaluators: [{
evaluatorId: 'evaluatorId',
}],
executionStatus: 'executionStatus',
insights: [{
insightId: 'insightId',
}],
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. |
| 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. |
| clustering | IResolvable | Clustering | The configuration for clustering analysis of evaluation results. |
| description? | string | The description of the online evaluation configuration. |
| evaluators? | IResolvable | (IResolvable | Evaluator)[] | The list of evaluators to apply during online evaluation. |
| execution | string | |
| insights? | IResolvable | (IResolvable | Insight)[] | The list of insights to enable for failure analysis. |
| 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.
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.
clusteringConfig?
Type:
IResolvable | Clustering
(optional)
The configuration for clustering analysis of evaluation results.
description?
Type:
string
(optional)
The description of the online evaluation configuration.
evaluators?
Type:
IResolvable | (IResolvable | Evaluator)[]
(optional)
The list of evaluators to apply during online evaluation.
executionStatus?
Type:
string
(optional)
insights?
Type:
IResolvable | (IResolvable | Insight)[]
(optional)
The list of insights to enable for failure analysis.
tags?
Type:
Cfn[]
(optional)
A list of tags to assign to the online evaluation configuration.

.NET
Go
Java
Python
TypeScript