AWS::Lex::Bot SlotValueRegexFilter - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lex::Bot SlotValueRegexFilter

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

Syntax

To declare this entity in your 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