

# GuardrailRegexFilter
<a name="API_agent-runtime_GuardrailRegexFilter"></a>

The details for the regex filter used in the Guardrail.

## Contents
<a name="API_agent-runtime_GuardrailRegexFilter_Contents"></a>

 ** action **   <a name="bedrock-Type-agent-runtime_GuardrailRegexFilter-action"></a>
The action details for the regex filter used in the Guardrail.  
Type: String  
Valid Values: `BLOCKED | ANONYMIZED`   
Required: No

 ** match **   <a name="bedrock-Type-agent-runtime_GuardrailRegexFilter-match"></a>
The match details for the regex filter used in the Guardrail.  
Type: String  
Required: No

 ** name **   <a name="bedrock-Type-agent-runtime_GuardrailRegexFilter-name"></a>
The name details for the regex filter used in the Guardrail.  
Type: String  
Required: No

 ** regex **   <a name="bedrock-Type-agent-runtime_GuardrailRegexFilter-regex"></a>
The regex details for the regex filter used in the Guardrail.  
Type: String  
Required: No

## See Also
<a name="API_agent-runtime_GuardrailRegexFilter_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-runtime-2023-07-26/GuardrailRegexFilter) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/GuardrailRegexFilter) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/GuardrailRegexFilter) 