aws-cdk-lib.aws_lex.CfnBot.CustomPayloadProperty

interface CustomPayloadProperty

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

A custom response string that Amazon Lex sends to your application.

You define the content and structure the string.

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 customPayloadProperty: lex.CfnBot.CustomPayloadProperty = {
  value: 'value',
};

Properties

NameTypeDescription
valuestringThe string that is sent to your application.

value

Type: string

The string that is sent to your application.