SlotDefaultValue - Amazon Lex

SlotDefaultValue

A default value for a slot.

Contents

defaultValue

The default value for the slot. You can specify one of the following:

  • #context-name.slot-name - The slot value "slot-name" in the context "context-name."

  • {attribute} - The slot value of the session attribute "attribute."

  • 'value' - The discrete value "value."

Type: String

Length Constraints: Minimum length of 1. Maximum length of 202.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: