aws-cdk-lib.aws_lex.CfnBot.CodeHookSpecificationProperty

interface CodeHookSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.CodeHookSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_CodeHookSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.CodeHookSpecificationProperty
Pythonaws_cdk.aws_lex.CfnBot.CodeHookSpecificationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const codeHookSpecificationProperty: lex.CfnBot.CodeHookSpecificationProperty = {
  lambdaCodeHook: {
    codeHookInterfaceVersion: 'codeHookInterfaceVersion',
    lambdaArn: 'lambdaArn',
  },
};

Properties

NameTypeDescription
lambdaCodeHookIResolvable | LambdaCodeHookPropertySpecifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.

lambdaCodeHook

Type: IResolvable | LambdaCodeHookProperty

Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.