interface RuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrockagentcore#CfnOnlineEvaluationConfigPropsMixin_RuleProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrockagentcore » CfnOnlineEvaluationConfigPropsMixin » RuleProperty |
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 { aws_bedrockagentcore as bedrockagentcore } from '@aws-cdk/cfn-property-mixins';
const ruleProperty: bedrockagentcore.CfnOnlineEvaluationConfigPropsMixin.RuleProperty = {
filters: [{
key: 'key',
operator: 'operator',
value: {
booleanValue: false,
doubleValue: 123,
stringValue: 'stringValue',
},
}],
samplingConfig: {
samplingPercentage: 123,
},
sessionConfig: {
sessionTimeoutMinutes: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| filters? | IResolvable | (IResolvable | Filter)[] | The list of filters that determine which agent traces should be included in the evaluation. |
| sampling | IResolvable | Sampling | The configuration that controls what percentage of agent traces are sampled for evaluation. |
| session | IResolvable | Session | The configuration that defines how agent sessions are detected. |
filters?
Type:
IResolvable | (IResolvable | Filter)[]
(optional)
The list of filters that determine which agent traces should be included in the evaluation.
samplingConfig?
Type:
IResolvable | Sampling
(optional)
The configuration that controls what percentage of agent traces are sampled for evaluation.
sessionConfig?
Type:
IResolvable | Session
(optional)
The configuration that defines how agent sessions are detected.

.NET
Go
Java
Python
TypeScript