AWS::Lex::BotAlias LambdaCodeHook
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CodeHookInterfaceVersion" :String, "LambdaArn" :String}
YAML
CodeHookInterfaceVersion:StringLambdaArn:String
Properties
CodeHookInterfaceVersion-
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
Required: Yes
Type: String
Minimum:
1Maximum:
5Update requires: No interruption
LambdaArn-
The Amazon Resource Name (ARN) of the Lambda function.
Required: Yes
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:aws:lambda:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?Update requires: No interruption