# RedactionPlaceHolderProperty

The redaction placeholder that will replace the redacted text in session.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const redactionPlaceHolderProperty: workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty = {
  redactionPlaceHolderType: 'redactionPlaceHolderType',

  // the properties below are optional
  redactionPlaceHolderText: 'redactionPlaceHolderText',
};
```

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_workspacesweb as workspacesweb

redaction_place_holder_property = workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
    redaction_place_holder_type="redactionPlaceHolderType",

    # the properties below are optional
    redaction_place_holder_text="redactionPlaceHolderText"
)
```

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.workspacesweb.*;

RedactionPlaceHolderProperty redactionPlaceHolderProperty = RedactionPlaceHolderProperty.builder()
        .redactionPlaceHolderType("redactionPlaceHolderType")

        // the properties below are optional
        .redactionPlaceHolderText("redactionPlaceHolderText")
        .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.WorkSpacesWeb;

var redactionPlaceHolderProperty = new RedactionPlaceHolderProperty {
    RedactionPlaceHolderType = "redactionPlaceHolderType",

    // the properties below are optional
    RedactionPlaceHolderText = "redactionPlaceHolderText"
};
```

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"

redactionPlaceHolderProperty := &RedactionPlaceHolderProperty{
	RedactionPlaceHolderType: jsii.String("redactionPlaceHolderType"),

	// the properties below are optional
	RedactionPlaceHolderText: jsii.String("redactionPlaceHolderText"),
}
```

## Properties

- `redactionPlaceHolderText`: string — The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.

- `redactionPlaceHolderType`: string (required) — The redaction placeholder type that will replace the redacted text in session.
