SlotDefaultValue - Amazon Lex V1

If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.

 

If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.

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: