Class: Aws::LexModelBuildingService::Types::SlotTypeRegexConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#patternString

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 (.)

Returns:

  • (String)


4201
4202
4203
4204
4205
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4201

class SlotTypeRegexConfiguration < Struct.new(
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end