Interface CfnOnlineEvaluationConfigPropsMixin.RuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOnlineEvaluationConfigPropsMixin.RuleProperty.Jsii$Proxy
- Enclosing class:
CfnOnlineEvaluationConfigPropsMixin
@Stability(Stable)
public static interface CfnOnlineEvaluationConfigPropsMixin.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.cfnpropertymixins.services.bedrockagentcore.*;
RuleProperty ruleProperty = RuleProperty.builder()
.filters(List.of(FilterProperty.builder()
.key("key")
.operator("operator")
.value(FilterValueProperty.builder()
.booleanValue(false)
.doubleValue(123)
.stringValue("stringValue")
.build())
.build()))
.samplingConfig(SamplingConfigProperty.builder()
.samplingPercentage(123)
.build())
.sessionConfig(SessionConfigProperty.builder()
.sessionTimeoutMinutes(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOnlineEvaluationConfigPropsMixin.RulePropertystatic final classAn implementation forCfnOnlineEvaluationConfigPropsMixin.RuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe list of filters that determine which agent traces should be included in the evaluation.default ObjectThe 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
-
getFilters
The list of filters that determine which agent traces should be included in the evaluation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnOnlineEvaluationConfigPropsMixin.FilterProperty>- See Also:
-
getSamplingConfig
The configuration that controls what percentage of agent traces are sampled for evaluation.Returns union: either
IResolvableorCfnOnlineEvaluationConfigPropsMixin.SamplingConfigProperty- See Also:
-
getSessionConfig
The configuration that defines how agent sessions are detected.Returns union: either
IResolvableorCfnOnlineEvaluationConfigPropsMixin.SessionConfigProperty- See Also:
-
builder
-