Skip to content
v2.278.0

RedactionPlaceHolderProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

redactionPlaceHolderTextoptionalstringredaction_place_holder_textoptionalstrredactionPlaceHolderTextoptionalStringRedactionPlaceHolderTextoptionalstringRedactionPlaceHolderTextoptional*string #
The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
redactionPlaceHolderTypestringredaction_place_holder_typestrredactionPlaceHolderTypeStringRedactionPlaceHolderTypestringRedactionPlaceHolderType*string required #
The redaction placeholder type that will replace the redacted text in session.