Filter - Amazon Bedrock AgentCore Control Plane

Filter

The filter that applies conditions to agent traces during online evaluation to determine which traces should be evaluated.

Contents

key

The key or field name to filter on within the agent trace data.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [a-zA-Z0-9._-]+

Required: Yes

operator

The comparison operator to use for filtering.

Type: String

Valid Values: Equals | NotEquals | GreaterThan | LessThan | GreaterThanOrEqual | LessThanOrEqual | Contains | NotContains

Required: Yes

value

The value to compare against using the specified operator.

Type: FilterValue object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: