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") .build())) .regexesConfig(List.of(RegexConfigProperty.builder() .action("action") .name("name") .pattern("pattern") // the properties below are optional .description("description") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGuardrail.SensitiveInformationPolicyConfigProperty
static final class
An 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.- See Also:
-
getRegexesConfig
A list of regular expressions to configure to the guardrail.- See Also:
-
builder
-