Class CfnOnlineEvaluationConfigProps
Properties for defining a CfnOnlineEvaluationConfig.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOnlineEvaluationConfigProps : ICfnOnlineEvaluationConfigProps
Syntax (vb)
Public Class CfnOnlineEvaluationConfigProps Implements ICfnOnlineEvaluationConfigProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var cfnOnlineEvaluationConfigProps = new CfnOnlineEvaluationConfigProps {
DataSourceConfig = new DataSourceConfigProperty {
CloudWatchLogs = new CloudWatchLogsInputConfigProperty {
LogGroupNames = new [] { "logGroupNames" },
ServiceNames = new [] { "serviceNames" }
}
},
EvaluationExecutionRoleArn = "evaluationExecutionRoleArn",
Evaluators = new [] { new EvaluatorReferenceProperty {
EvaluatorId = "evaluatorId"
} },
OnlineEvaluationConfigName = "onlineEvaluationConfigName",
Rule = new RuleProperty {
SamplingConfig = new SamplingConfigProperty {
SamplingPercentage = 123
},
// the properties below are optional
Filters = new [] { new FilterProperty {
Key = "key",
Operator = "operator",
Value = new FilterValueProperty {
BooleanValue = false,
DoubleValue = 123,
StringValue = "stringValue"
}
} },
SessionConfig = new SessionConfigProperty {
SessionTimeoutMinutes = 123
}
},
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnOnlineEvaluationConfigProps() | Properties for defining a |
Properties
| DataSourceConfig | The configuration that specifies where to read agent traces for online evaluation. |
| Description | The description of the online evaluation configuration. |
| EvaluationExecutionRoleArn | The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation. |
| Evaluators | The list of evaluators to apply during online evaluation. |
| OnlineEvaluationConfigName | The name of the online evaluation configuration. |
| Rule | The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings. |
| Tags | A list of tags to assign to the online evaluation configuration. |
Constructors
CfnOnlineEvaluationConfigProps()
Properties for defining a CfnOnlineEvaluationConfig.
public CfnOnlineEvaluationConfigProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var cfnOnlineEvaluationConfigProps = new CfnOnlineEvaluationConfigProps {
DataSourceConfig = new DataSourceConfigProperty {
CloudWatchLogs = new CloudWatchLogsInputConfigProperty {
LogGroupNames = new [] { "logGroupNames" },
ServiceNames = new [] { "serviceNames" }
}
},
EvaluationExecutionRoleArn = "evaluationExecutionRoleArn",
Evaluators = new [] { new EvaluatorReferenceProperty {
EvaluatorId = "evaluatorId"
} },
OnlineEvaluationConfigName = "onlineEvaluationConfigName",
Rule = new RuleProperty {
SamplingConfig = new SamplingConfigProperty {
SamplingPercentage = 123
},
// the properties below are optional
Filters = new [] { new FilterProperty {
Key = "key",
Operator = "operator",
Value = new FilterValueProperty {
BooleanValue = false,
DoubleValue = 123,
StringValue = "stringValue"
}
} },
SessionConfig = new SessionConfigProperty {
SessionTimeoutMinutes = 123
}
},
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
DataSourceConfig
The configuration that specifies where to read agent traces for online evaluation.
public object DataSourceConfig { get; set; }
Property Value
Remarks
Description
The description of the online evaluation configuration.
public string? Description { get; set; }
Property Value
Remarks
EvaluationExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.
public string EvaluationExecutionRoleArn { get; set; }
Property Value
Remarks
Evaluators
The list of evaluators to apply during online evaluation.
public object Evaluators { get; set; }
Property Value
Remarks
OnlineEvaluationConfigName
The name of the online evaluation configuration.
public string OnlineEvaluationConfigName { get; set; }
Property Value
Remarks
Rule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
public object Rule { get; set; }
Property Value
Remarks
Tags
A list of tags to assign to the online evaluation configuration.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]