Skip to content
v2.274.0

CodeHookSpecificationProperty Struct ​

Contains information about code hooks that Amazon Lex calls during a conversation.

Example ​

ts
// 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.CfnBotAlias.CodeHookSpecificationProperty = {
  lambdaCodeHook: {
    codeHookInterfaceVersion: 'codeHookInterfaceVersion',
    lambdaArn: 'lambdaArn',
  },
};

Properties ​

lambdaCodeHookIResolvable | CfnBotAlias.LambdaCodeHookPropertylambda_code_hooktyping.Union[IResolvable, LambdaCodeHookProperty]lambdaCodeHookIResolvableLambdaCodeHookIResolvableLambdaCodeHookinterface{}required#
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.