# LogRedactionConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.245.0 · 27 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const logRedactionConfigurationProperty: cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty = {
  entitiesToRedact: ['entitiesToRedact'],

  // the properties below are optional
  customEntityConfig: {
    customDataIdentifiers: ['customDataIdentifiers'],
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanroomsml as cleanroomsml

log_redaction_configuration_property = cleanroomsml.CfnConfiguredModelAlgorithmAssociation.LogRedactionConfigurationProperty(
    entities_to_redact=["entitiesToRedact"],

    # the properties below are optional
    custom_entity_config=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty(
        custom_data_identifiers=["customDataIdentifiers"]
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanroomsml.*;

LogRedactionConfigurationProperty logRedactionConfigurationProperty = LogRedactionConfigurationProperty.builder()
        .entitiesToRedact(List.of("entitiesToRedact"))

        // the properties below are optional
        .customEntityConfig(CustomEntityConfigProperty.builder()
                .customDataIdentifiers(List.of("customDataIdentifiers"))
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CleanRoomsML;

var logRedactionConfigurationProperty = new LogRedactionConfigurationProperty {
    EntitiesToRedact = new [] { "entitiesToRedact" },

    // the properties below are optional
    CustomEntityConfig = new CustomEntityConfigProperty {
        CustomDataIdentifiers = new [] { "customDataIdentifiers" }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

logRedactionConfigurationProperty := &LogRedactionConfigurationProperty{
	EntitiesToRedact: []*string{
		jsii.String("entitiesToRedact"),
	},

	// the properties below are optional
	CustomEntityConfig: &CustomEntityConfigProperty{
		CustomDataIdentifiers: []*string{
			jsii.String("customDataIdentifiers"),
		},
	},
}
```

## Properties

- `customEntityConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cleanroomsml.CfnConfiguredModelAlgorithmAssociation.CustomEntityConfigProperty.html)

- `entitiesToRedact`: string[] (required)
