Interface CfnGuardrail.RegexConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.RegexConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.RegexConfigProperty
extends software.amazon.jsii.JsiiSerializable
The regular expression 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.*; RegexConfigProperty regexConfigProperty = RegexConfigProperty.builder() .action("action") .name("name") .pattern("pattern") // the properties below are optional .description("description") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGuardrail.RegexConfigProperty
static final class
An implementation forCfnGuardrail.RegexConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The guardrail action to configure when matching regular expression is detected.default String
The description of the regular expression to configure for the guardrail.getName()
The name of the regular expression to configure for the guardrail.The regular expression pattern to configure for the guardrail.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The guardrail action to configure when matching regular expression is detected.- See Also:
-
getName
The name of the regular expression to configure for the guardrail.- See Also:
-
getPattern
The regular expression pattern to configure for the guardrail.- See Also:
-
getDescription
The description of the regular expression to configure for the guardrail.- See Also:
-
builder
-