interface FulfillmentCodeHookSettingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.FulfillmentCodeHookSettingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_FulfillmentCodeHookSettingProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.FulfillmentCodeHookSettingProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.FulfillmentCodeHookSettingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » FulfillmentCodeHookSettingProperty |
Determines if a Lambda function should be invoked for a specific intent.
Example
// The generated example for this type would exceed 500 lines,
// and has been elided for readability.
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Indicates whether a Lambda function should be invoked to fulfill a specific intent. |
| fulfillment | IResolvable | Fulfillment | Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. |
| is | boolean | IResolvable | Determines whether the fulfillment code hook is used. |
| post | IResolvable | Post | Provides settings for messages sent to the user for after the Lambda fulfillment function completes. |
enabled?
Type:
boolean | IResolvable
(optional)
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
fulfillmentUpdatesSpecification?
Type:
IResolvable | Fulfillment
(optional)
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
Fulfillment updates can be used only with streaming conversations.
isActive?
Type:
boolean | IResolvable
(optional)
Determines whether the fulfillment code hook is used.
When active is false, the code hook doesn't run.
postFulfillmentStatusSpecification?
Type:
IResolvable | Post
(optional)
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.

.NET
Go
Java
Python
TypeScript