

# LogRedactionConfiguration
<a name="API_LogRedactionConfiguration"></a>

The configuration for log redaction.

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

 ** entitiesToRedact **   <a name="API-Type-LogRedactionConfiguration-entitiesToRedact"></a>
Specifies the entities to be redacted from logs. Entities to redact are "ALL\$1PERSONALLY\$1IDENTIFIABLE\$1INFORMATION", "NUMBERS","CUSTOM". If CUSTOM is supplied or configured, custom patterns (customDataIdentifiers) should be provided, and the patterns will be redacted in logs or error messages.  
Type: Array of strings  
Array Members: Minimum number of 1 item.  
Valid Values: `ALL_PERSONALLY_IDENTIFIABLE_INFORMATION | NUMBERS | CUSTOM`   
Required: Yes

 ** customEntityConfig **   <a name="API-Type-LogRedactionConfiguration-customEntityConfig"></a>
Specifies the configuration for custom entities in the context of log redaction.  
Type: [CustomEntityConfig](API_CustomEntityConfig.md) object  
Required: No

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