class Aws::LexModelsV2::Types::SlotValueSelectionSetting

Contains settings used by Amazon Lex to select a slot value.

@note When making an API call, you may pass SlotValueSelectionSetting

data as a hash:

    {
      resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
      regex_filter: {
        pattern: "RegexPattern", # required
      },
    }

@!attribute [rw] resolution_strategy

Determines the slot resolution strategy that Amazon Lex uses to
return slot type values. The field can be set to one of the
following values:

* OriginalValue - Returns the value entered by the user, if the user
  value is similar to the slot value.

* TopResolution - If there is a resolution list for the slot, return
  the first value in the resolution list as the slot type value. If
  there is no resolution list, null is returned.

If you don't specify the valueSelectionStrategy, the default is
OriginalValue.
@return [String]

@!attribute [rw] regex_filter

A regular expression used to validate the value of a slot.
@return [Types::SlotValueRegexFilter]

@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotValueSelectionSetting AWS API Documentation

Constants

SENSITIVE