View a markdown version of this page

CloudWatchLogsFilter - Amazon Bedrock AgentCore Data Plane

CloudWatchLogsFilter

A filter for narrowing down agent traces from CloudWatch Logs based on key-value comparisons.

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: