

# SelectiveContentGuarding
<a name="API_SelectiveContentGuarding"></a>

Selective content guarding controls for enforced guardrails.

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

 ** messages **   <a name="bedrock-Type-SelectiveContentGuarding-messages"></a>
Selective guarding mode for user messages.  
Type: String  
Valid Values: `SELECTIVE | COMPREHENSIVE`   
Required: No

 ** system **   <a name="bedrock-Type-SelectiveContentGuarding-system"></a>
Selective guarding mode for system prompts.  
Type: String  
Valid Values: `SELECTIVE | COMPREHENSIVE`   
Required: No

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