Interface CfnOnlineEvaluationConfigProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOnlineEvaluationConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-19T12:55:00.033Z")
@Stability(Stable)
public interface CfnOnlineEvaluationConfigProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrockagentcore.*;
CfnOnlineEvaluationConfigProps cfnOnlineEvaluationConfigProps = CfnOnlineEvaluationConfigProps.builder()
.dataSourceConfig(DataSourceConfigProperty.builder()
.cloudWatchLogs(CloudWatchLogsInputConfigProperty.builder()
.logGroupNames(List.of("logGroupNames"))
.serviceNames(List.of("serviceNames"))
.build())
.build())
.evaluationExecutionRoleArn("evaluationExecutionRoleArn")
.evaluators(List.of(EvaluatorReferenceProperty.builder()
.evaluatorId("evaluatorId")
.build()))
.onlineEvaluationConfigName("onlineEvaluationConfigName")
.rule(RuleProperty.builder()
.samplingConfig(SamplingConfigProperty.builder()
.samplingPercentage(123)
.build())
// the properties below are optional
.filters(List.of(FilterProperty.builder()
.key("key")
.operator("operator")
.value(FilterValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.stringValue("stringValue")
.build())
.build()))
.sessionConfig(SessionConfigProperty.builder()
.sessionTimeoutMinutes(123)
.build())
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOnlineEvaluationConfigPropsstatic final classAn implementation forCfnOnlineEvaluationConfigProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration that specifies where to read agent traces for online evaluation.default StringThe description of the online evaluation configuration.The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.The list of evaluators to apply during online evaluation.The name of the online evaluation configuration.getRule()The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.getTags()A list of tags to assign to the online evaluation configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSourceConfig
The configuration that specifies where to read agent traces for online evaluation.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.DataSourceConfigProperty- See Also:
-
getEvaluationExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role that grants permissions for evaluation.- See Also:
-
getEvaluators
The list of evaluators to apply during online evaluation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnOnlineEvaluationConfig.EvaluatorReferenceProperty>- See Also:
-
getOnlineEvaluationConfigName
The name of the online evaluation configuration.Must be unique within your account.
- See Also:
-
getRule
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.RuleProperty- See Also:
-
getDescription
The description of the online evaluation configuration.- See Also:
-
getTags
A list of tags to assign to the online evaluation configuration.- See Also:
-
builder
-