AWS::Wisdom::AIGuardrail GuardrailRegexConfig
A regex configuration.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Action" :
String
, "Description" :String
, "Name" :String
, "Pattern" :String
}
YAML
Action:
String
Description:String
Name:String
Pattern:String
Properties
Action
-
The action of the guardrail regex configuration.
Required: Yes
Type: String
Allowed values:
BLOCK | ANONYMIZE
Update requires: No interruption
Description
-
The regex description.
Required: No
Type: String
Minimum:
1
Maximum:
1000
Update requires: No interruption
Name
-
A regex configuration.
Required: Yes
Type: String
Minimum:
1
Maximum:
100
Update requires: No interruption
Pattern
-
The regex pattern.
Required: Yes
Type: String
Minimum:
1
Update requires: No interruption