interface CodeHookSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.CodeHookSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_CodeHookSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.CodeHookSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.CodeHookSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » CodeHookSpecificationProperty |
Contains information about code hooks that Amazon Lex calls during a conversation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const codeHookSpecificationProperty: lex_mixins.CfnBotPropsMixin.CodeHookSpecificationProperty = {
lambdaCodeHook: {
codeHookInterfaceVersion: 'codeHookInterfaceVersion',
lambdaArn: 'lambdaArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| lambda | IResolvable | Lambda | Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot. |
lambdaCodeHook?
Type:
IResolvable | Lambda
(optional)
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.

.NET
Go
Java
Python
TypeScript