

# GuardrailChecksPromptAttackCategoryConfig
<a name="API_runtime_GuardrailChecksPromptAttackCategoryConfig"></a>

The configuration for a single prompt attack category to evaluate.

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

 ** category **   <a name="bedrock-Type-runtime_GuardrailChecksPromptAttackCategoryConfig-category"></a>
The prompt attack category to evaluate.  
Type: String  
Valid Values: `JAILBREAK | PROMPT_INJECTION | PROMPT_LEAKAGE`   
Required: Yes

## See Also
<a name="API_runtime_GuardrailChecksPromptAttackCategoryConfig_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-runtime-2023-09-30/GuardrailChecksPromptAttackCategoryConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-runtime-2023-09-30/GuardrailChecksPromptAttackCategoryConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-runtime-2023-09-30/GuardrailChecksPromptAttackCategoryConfig) 