interface GuardrailRegexConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Wisdom.Mixins.CfnAIGuardrailPropsMixin.GuardrailRegexConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswisdom/mixins#CfnAIGuardrailPropsMixin_GuardrailRegexConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.wisdom.mixins.CfnAIGuardrailPropsMixin.GuardrailRegexConfigProperty |
Python | aws_cdk.mixins_preview.aws_wisdom.mixins.CfnAIGuardrailPropsMixin.GuardrailRegexConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wisdom » mixins » CfnAIGuardrailPropsMixin » GuardrailRegexConfigProperty |
A regex configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wisdom_mixins } from '@aws-cdk/mixins-preview/aws-wisdom';
const guardrailRegexConfigProperty: wisdom_mixins.CfnAIGuardrailPropsMixin.GuardrailRegexConfigProperty = {
action: 'action',
description: 'description',
name: 'name',
pattern: 'pattern',
};
Properties
| Name | Type | Description |
|---|---|---|
| action? | string | The action of the guardrail regex configuration. |
| description? | string | The regex description. |
| name? | string | A regex configuration. |
| pattern? | string | The regex pattern. |
action?
Type:
string
(optional)
The action of the guardrail regex configuration.
description?
Type:
string
(optional)
The regex description.
name?
Type:
string
(optional)
A regex configuration.
pattern?
Type:
string
(optional)
The regex pattern.

.NET
Go
Java
Python
TypeScript