interface CustomPayloadProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.CustomPayloadProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_CustomPayloadProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.CustomPayloadProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
value | string | The string that is sent to your application. |
value
Type:
string
The string that is sent to your application.