Interface CfnEvaluatorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluatorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:39.591Z")
@Stability(Stable)
public interface CfnEvaluatorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEvaluator.
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.*;
Object additionalModelRequestFields;
CfnEvaluatorProps cfnEvaluatorProps = CfnEvaluatorProps.builder()
.evaluatorConfig(EvaluatorConfigProperty.builder()
.llmAsAJudge(LlmAsAJudgeEvaluatorConfigProperty.builder()
.instructions("instructions")
.modelConfig(EvaluatorModelConfigProperty.builder()
.bedrockEvaluatorModelConfig(BedrockEvaluatorModelConfigProperty.builder()
.modelId("modelId")
// the properties below are optional
.additionalModelRequestFields(additionalModelRequestFields)
.inferenceConfig(InferenceConfigurationProperty.builder()
.maxTokens(123)
.temperature(123)
.topP(123)
.build())
.build())
.build())
.ratingScale(RatingScaleProperty.builder()
.categorical(List.of(CategoricalScaleDefinitionProperty.builder()
.definition("definition")
.label("label")
.build()))
.numerical(List.of(NumericalScaleDefinitionProperty.builder()
.definition("definition")
.label("label")
.value(123)
.build()))
.build())
.build())
.build())
.evaluatorName("evaluatorName")
.level("level")
// 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 forCfnEvaluatorPropsstatic final classAn implementation forCfnEvaluatorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEvaluatorProps.Builderbuilder()default StringThe description of the evaluator.The configuration that defines how an evaluator assesses agent performance.The name of the evaluator.getLevel()getTags()A list of tags to assign to the evaluator.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEvaluatorConfig
The configuration that defines how an evaluator assesses agent performance.Returns union: either
IResolvableorCfnEvaluator.EvaluatorConfigProperty- See Also:
-
getEvaluatorName
The name of the evaluator.Must be unique within your account.
- See Also:
-
getLevel
- See Also:
-
getDescription
The description of the evaluator.- See Also:
-
getTags
A list of tags to assign to the evaluator.- See Also:
-
builder
- Returns:
- a
CfnEvaluatorProps.BuilderofCfnEvaluatorProps
-