

# GatewayFilter
<a name="API_GatewayFilter"></a>

A filter to restrict which gateway target paths are included in the A/B test.

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

 ** targetPaths **   <a name="BedrockAgentCore-Type-GatewayFilter-targetPaths"></a>
A list of target path patterns to include in the A/B test.  
Type: Array of strings  
Array Members: Fixed number of 1 item.  
Length Constraints: Minimum length of 1. Maximum length of 500.  
Required: No

## See Also
<a name="API_GatewayFilter_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/GatewayFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-2024-02-28/GatewayFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-2024-02-28/GatewayFilter) 