AWS::Lex::Bot FulfillmentUpdateResponseSpecification
Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AllowInterrupt" :
Boolean
, "FrequencyInSeconds" :Integer
, "MessageGroups" :[ MessageGroup, ... ]
}
YAML
AllowInterrupt:
Boolean
FrequencyInSeconds:Integer
MessageGroups:- MessageGroup
Properties
AllowInterrupt
-
Determines whether the user can interrupt an update message while it is playing.
Required: No
Type: Boolean
Update requires: No interruption
FrequencyInSeconds
-
The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
Required: Yes
Type: Integer
Minimum:
1
Maximum:
900
Update requires: No interruption
MessageGroups
-
1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
Required: Yes
Type: Array of MessageGroup
Minimum:
1
Maximum:
5
Update requires: No interruption