interface LambdaCodeHookProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lex.CfnBot.LambdaCodeHookProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_LambdaCodeHookProperty |
![]() | software.amazon.awscdk.services.lex.CfnBot.LambdaCodeHookProperty |
![]() | aws_cdk.aws_lex.CfnBot.LambdaCodeHookProperty |
![]() | 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
Name | Type | Description |
---|---|---|
code | string | The version of the request-response that you want Amazon Lex to use to invoke your Lambda function. |
lambda | string | The 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.