AWS::Lex::Bot SlotValueRegexFilter - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Lex::Bot SlotValueRegexFilter

Provides a regular expression used to validate the value of a slot.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Pattern" : String }

YAML

Pattern: String

Properties

Pattern

A regular expression used to validate the value of a slot.

Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:

  • A-Z, a-z

  • 0-9

  • Unicode characters ("\⁠u<Unicode>")

Represent Unicode characters with four digits, for example "\⁠u0041" or "\⁠u005A".

The following regular expression operators are not supported:

  • Infinite repeaters: *, +, or {x,} with no upper bound.

  • Wild card (.)

Required: Yes

Type: String

Minimum: 1

Maximum: 300

Update requires: No interruption