Interface CfnGuardrail.SensitiveInformationPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.SensitiveInformationPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.SensitiveInformationPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about PII entities and regular expressions to configure for the guardrail.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
SensitiveInformationPolicyConfigProperty sensitiveInformationPolicyConfigProperty = SensitiveInformationPolicyConfigProperty.builder()
.piiEntitiesConfig(List.of(PiiEntityConfigProperty.builder()
.action("action")
.type("type")
// the properties below are optional
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.build()))
.regexesConfig(List.of(RegexConfigProperty.builder()
.action("action")
.name("name")
.pattern("pattern")
// the properties below are optional
.description("description")
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardrail.SensitiveInformationPolicyConfigPropertystatic final classAn implementation forCfnGuardrail.SensitiveInformationPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPiiEntitiesConfig
A list of PII entities to configure to the guardrail.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.PiiEntityConfigProperty>- See Also:
-
getRegexesConfig
A list of regular expressions to configure to the guardrail.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.RegexConfigProperty>- See Also:
-
builder
-