Class CfnBot.SlotValueRegexFilterProperty
Provides a regular expression used to validate the value of a slot.
Inheritance
System.Object
CfnBot.SlotValueRegexFilterProperty
Implements
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.AWS.Lex.dll
Syntax (csharp)
public class SlotValueRegexFilterProperty : Object, CfnBot.ISlotValueRegexFilterProperty
Syntax (vb)
Public Class SlotValueRegexFilterProperty
Inherits Object
Implements CfnBot.ISlotValueRegexFilterProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var slotValueRegexFilterProperty = new SlotValueRegexFilterProperty {
Pattern = "pattern"
};
Synopsis
Constructors
SlotValueRegexFilterProperty() |
Properties
Pattern | A regular expression used to validate the value of a slot. |
Constructors
SlotValueRegexFilterProperty()
public SlotValueRegexFilterProperty()
Properties
Pattern
A regular expression used to validate the value of a slot.
public string Pattern { get; set; }
Property Value
System.String
Remarks
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
Represent Unicode characters with four digits, for example "\u0041" or "\u005A".
The following regular expression operators are not supported: