

# GuardrailChecksPromptAttackConfig
<a name="API_runtime_GuardrailChecksPromptAttackConfig"></a>

The configuration for the prompt attack check, specifying which categories to evaluate.

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

 ** categories **   <a name="bedrock-Type-runtime_GuardrailChecksPromptAttackConfig-categories"></a>
The prompt attack categories to evaluate.  
Type: Array of [GuardrailChecksPromptAttackCategoryConfig](API_runtime_GuardrailChecksPromptAttackCategoryConfig.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 3 items.  
Required: Yes

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