aws-cdk-lib.aws_lex.CfnBot.LambdaCodeHookProperty

interface LambdaCodeHookProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.LambdaCodeHookProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_LambdaCodeHookProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.LambdaCodeHookProperty
Pythonaws_cdk.aws_lex.CfnBot.LambdaCodeHookProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » LambdaCodeHookProperty

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

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 lambdaCodeHookProperty: lex.CfnBot.LambdaCodeHookProperty = {
  codeHookInterfaceVersion: 'codeHookInterfaceVersion',
  lambdaArn: 'lambdaArn',
};

Properties

NameTypeDescription
codeHookInterfaceVersionstringThe version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
lambdaArnstringThe Amazon Resource Name (ARN) of the Lambda function.

codeHookInterfaceVersion

Type: string

The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.


lambdaArn

Type: string

The Amazon Resource Name (ARN) of the Lambda function.