aws-cdk-lib.aws_lex.CfnBotAlias.CodeHookSpecificationProperty

interface CodeHookSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBotAlias.CodeHookSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBotAlias_CodeHookSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBotAlias.CodeHookSpecificationProperty
Pythonaws_cdk.aws_lex.CfnBotAlias.CodeHookSpecificationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBotAlias » 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.CfnBotAlias.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.