

# CloudWatchLogsRule
<a name="API_CloudWatchLogsRule"></a>

A rule configuration for filtering agent traces from CloudWatch Logs.

## Contents
<a name="API_CloudWatchLogsRule_Contents"></a>

 ** filters **   <a name="BedrockAgentCore-Type-CloudWatchLogsRule-filters"></a>
The list of filters to apply when reading agent traces.  
Type: Array of [CloudWatchLogsFilter](API_CloudWatchLogsFilter.md) objects  
Required: No

## See Also
<a name="API_CloudWatchLogsRule_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-2024-02-28/CloudWatchLogsRule) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-2024-02-28/CloudWatchLogsRule) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-2024-02-28/CloudWatchLogsRule) 