FilterConfig
- class aws_cdk.aws_bedrock_agentcore_alpha.FilterConfig(*, key, operator, value)
Bases:
object(deprecated) Filter configuration for online evaluation.
Filters determine which agent traces should be included in the evaluation based on trace properties.
- Parameters:
key (
str) – (deprecated) The key or field name to filter on within the agent trace data.operator (
FilterOperator) – (deprecated) The comparison operator to use for filtering.value (
FilterValue) – (deprecated) The value to compare against using the specified operator. UseFilterValue.string(),FilterValue.number(), orFilterValue.boolean()to create typed filter values.
- Deprecated:
Use the equivalent construct from
aws-cdk-lib/aws-bedrockagentcoreinstead.- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha # filter_operator: bedrock_agentcore_alpha.FilterOperator # filter_value: bedrock_agentcore_alpha.FilterValue filter_config = bedrock_agentcore_alpha.FilterConfig( key="key", operator=filter_operator, value=filter_value )
Attributes
- key
(deprecated) The key or field name to filter on within the agent trace data.
- Stability:
deprecated
Example:
"user.region"
- operator
(deprecated) The comparison operator to use for filtering.
- Stability:
deprecated
- value
(deprecated) The value to compare against using the specified operator.
Use
FilterValue.string(),FilterValue.number(), orFilterValue.boolean()to create typed filter values.- Stability:
deprecated