Interface CfnGuardrailPropsMixin.SensitiveInformationPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrailPropsMixin.SensitiveInformationPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrailPropsMixin
@Stability(Stable)
public static interface CfnGuardrailPropsMixin.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.cfnpropertymixins.services.bedrock.*;
SensitiveInformationPolicyConfigProperty sensitiveInformationPolicyConfigProperty = SensitiveInformationPolicyConfigProperty.builder()
.piiEntitiesConfig(List.of(PiiEntityConfigProperty.builder()
.action("action")
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.type("type")
.build()))
.regexesConfig(List.of(RegexConfigProperty.builder()
.action("action")
.description("description")
.inputAction("inputAction")
.inputEnabled(false)
.name("name")
.outputAction("outputAction")
.outputEnabled(false)
.pattern("pattern")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGuardrailPropsMixin.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: '<'eitherIResolvableorCfnGuardrailPropsMixin.PiiEntityConfigProperty>- See Also:
-
getRegexesConfig
A list of regular expressions to configure to the guardrail.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrailPropsMixin.RegexConfigProperty>- See Also:
-
builder
@Stability(Stable) static CfnGuardrailPropsMixin.SensitiveInformationPolicyConfigProperty.Builder builder()
-