PlainTextMessageProperty Struct
Defines an ASCII text message to send to the user.
Example
ts
// 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 plainTextMessageProperty: lex.CfnBot.PlainTextMessageProperty = {
value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex
plain_text_message_property = lex.CfnBot.PlainTextMessageProperty(
value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
PlainTextMessageProperty plainTextMessageProperty = PlainTextMessageProperty.builder()
.value("value")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;
var plainTextMessageProperty = new PlainTextMessageProperty {
Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
plainTextMessageProperty := &PlainTextMessageProperty{
Value: jsii.String("value"),
}
Properties
The message to send to the user.