Interface CfnOnlineEvaluationConfig.RuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOnlineEvaluationConfig.RuleProperty.Jsii$Proxy
- Enclosing class:
CfnOnlineEvaluationConfig
@Stability(Stable)
public static interface CfnOnlineEvaluationConfig.RuleProperty
extends software.amazon.jsii.JsiiSerializable
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
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.*;
RuleProperty ruleProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOnlineEvaluationConfig.RulePropertystatic final classAn implementation forCfnOnlineEvaluationConfig.RuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe list of filters that determine which agent traces should be included in the evaluation.The configuration that controls what percentage of agent traces are sampled for evaluation.default ObjectThe configuration that defines how agent sessions are detected.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSamplingConfig
The configuration that controls what percentage of agent traces are sampled for evaluation.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.SamplingConfigProperty- See Also:
-
getFilters
The list of filters that determine which agent traces should be included in the evaluation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnOnlineEvaluationConfig.FilterProperty>- See Also:
-
getSessionConfig
The configuration that defines how agent sessions are detected.Returns union: either
IResolvableorCfnOnlineEvaluationConfig.SessionConfigProperty- See Also:
-
builder
-