Class CfnOnlineEvaluationConfigPropsMixin.RuleProperty
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnOnlineEvaluationConfigPropsMixin.RuleProperty : CfnOnlineEvaluationConfigPropsMixin.IRuleProperty
Syntax (vb)
Public Class CfnOnlineEvaluationConfigPropsMixin.RuleProperty Implements CfnOnlineEvaluationConfigPropsMixin.IRuleProperty
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.CfnPropertyMixins.AWS.BedrockAgentCore;
var ruleProperty = new RuleProperty {
Filters = new [] { new FilterProperty {
Key = "key",
Operator = "operator",
Value = new FilterValueProperty {
BooleanValue = false,
DoubleValue = 123,
StringValue = "stringValue"
}
} },
SamplingConfig = new SamplingConfigProperty {
SamplingPercentage = 123
},
SessionConfig = new SessionConfigProperty {
SessionTimeoutMinutes = 123
}
};
Synopsis
Constructors
| RuleProperty() | The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings. |
Properties
| Filters | The list of filters that determine which agent traces should be included in the evaluation. |
| SamplingConfig | The configuration that controls what percentage of agent traces are sampled for evaluation. |
| SessionConfig | The configuration that defines how agent sessions are detected. |
Constructors
RuleProperty()
The evaluation rule that defines sampling configuration, filtering criteria, and session detection settings.
public RuleProperty()
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.CfnPropertyMixins.AWS.BedrockAgentCore;
var ruleProperty = new RuleProperty {
Filters = new [] { new FilterProperty {
Key = "key",
Operator = "operator",
Value = new FilterValueProperty {
BooleanValue = false,
DoubleValue = 123,
StringValue = "stringValue"
}
} },
SamplingConfig = new SamplingConfigProperty {
SamplingPercentage = 123
},
SessionConfig = new SessionConfigProperty {
SessionTimeoutMinutes = 123
}
};
Properties
Filters
The list of filters that determine which agent traces should be included in the evaluation.
public object? Filters { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnOnlineEvaluationConfigPropsMixin.IFilterProperty)[]
SamplingConfig
The configuration that controls what percentage of agent traces are sampled for evaluation.
public object? SamplingConfig { get; set; }
Property Value
Remarks
SessionConfig
The configuration that defines how agent sessions are detected.
public object? SessionConfig { get; set; }