Skip to content
v2.277.0

SampleUtteranceProperty Struct ​

A sample utterance that invokes an intent or respond to a slot elicitation prompt.

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 sampleUtteranceProperty: lex.CfnBot.SampleUtteranceProperty = {
  utterance: 'utterance',
};
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

sample_utterance_property = lex.CfnBot.SampleUtteranceProperty(
    utterance="utterance"
)
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.*;

SampleUtteranceProperty sampleUtteranceProperty = SampleUtteranceProperty.builder()
        .utterance("utterance")
        .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 sampleUtteranceProperty = new SampleUtteranceProperty {
    Utterance = "utterance"
};
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"

sampleUtteranceProperty := &SampleUtteranceProperty{
	Utterance: jsii.String("utterance"),
}

Properties ​

utterancestringutterancestrutteranceStringUtterancestringUtterance*stringrequired#
A sample utterance that invokes an intent or respond to a slot elicitation prompt.