FilterValue

class aws_cdk.aws_bedrock_agentcore_alpha.FilterValue(*args: Any, **kwargs)

Bases: object

(deprecated) A typed filter value for online evaluation filtering.

Use the static factory methods to create filter values:

  • FilterValue.string() for string comparisons

  • FilterValue.number() for numeric comparisons

  • FilterValue.boolean() for boolean comparisons

Deprecated:

Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.

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_value = bedrock_agentcore_alpha.FilterValue.boolean(False)

Static Methods

classmethod boolean(value)

(deprecated) Creates a boolean filter value.

Parameters:

value (bool) –

  • The boolean value to compare against.

Stability:

deprecated

Return type:

FilterValue

classmethod number(value)

(deprecated) Creates a numeric filter value.

Parameters:

value (Union[int, float]) –

  • The numeric value to compare against.

Stability:

deprecated

Return type:

FilterValue

classmethod string(value)

(deprecated) Creates a string filter value.

Parameters:

value (str) –

  • The string value to compare against.

Stability:

deprecated

Return type:

FilterValue