AWS::Lex::Bot FulfillmentCodeHookSetting
Determines if a Lambda function should be invoked for a specific intent.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Enabled" :
Boolean
, "FulfillmentUpdatesSpecification" :FulfillmentUpdatesSpecification
, "IsActive" :Boolean
, "PostFulfillmentStatusSpecification" :PostFulfillmentStatusSpecification
}
YAML
Enabled:
Boolean
FulfillmentUpdatesSpecification:FulfillmentUpdatesSpecification
IsActive:Boolean
PostFulfillmentStatusSpecification:PostFulfillmentStatusSpecification
Properties
Enabled
-
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
Required: Yes
Type: Boolean
Update requires: No interruption
FulfillmentUpdatesSpecification
-
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
Required: No
Type: FulfillmentUpdatesSpecification
Update requires: No interruption
IsActive
-
Determines whether the fulfillment code hook is used. When
active
is false, the code hook doesn't run.Required: No
Type: Boolean
Update requires: No interruption
PostFulfillmentStatusSpecification
-
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
Required: No
Type: PostFulfillmentStatusSpecification
Update requires: No interruption