AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The regular expression to configure for the guardrail.
Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z
public class GuardrailRegexConfig
The GuardrailRegexConfig type exposes the following members
Name | Description | |
---|---|---|
![]() |
GuardrailRegexConfig() |
Name | Type | Description | |
---|---|---|---|
![]() |
Action | Amazon.Bedrock.GuardrailSensitiveInformationAction |
Gets and sets the property Action. The guardrail action to configure when matching regular expression is detected. |
![]() |
Description | System.String |
Gets and sets the property Description. The description of the regular expression to configure for the guardrail. |
![]() |
Name | System.String |
Gets and sets the property Name. The name of the regular expression to configure for the guardrail. |
![]() |
Pattern | System.String |
Gets and sets the property Pattern. The regular expression pattern to configure for the guardrail. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5