Interface CfnAIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnAIGuardrail
@Stability(Stable)
public static interface CfnAIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Sensitive information policy configuration for a 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.wisdom.*;
AIGuardrailSensitiveInformationPolicyConfigProperty aIGuardrailSensitiveInformationPolicyConfigProperty = AIGuardrailSensitiveInformationPolicyConfigProperty.builder()
.piiEntitiesConfig(List.of(GuardrailPiiEntityConfigProperty.builder()
.action("action")
.type("type")
.build()))
.regexesConfig(List.of(GuardrailRegexConfigProperty.builder()
.action("action")
.name("name")
.pattern("pattern")
// the properties below are optional
.description("description")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPiiEntitiesConfig
List of entities.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIGuardrail.GuardrailPiiEntityConfigProperty>- See Also:
-
getRegexesConfig
List of regex.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIGuardrail.GuardrailRegexConfigProperty>- See Also:
-
builder
@Stability(Stable) static CfnAIGuardrail.AIGuardrailSensitiveInformationPolicyConfigProperty.Builder builder()
-