aws-cdk-lib.aws_lex.CfnBot.AudioSpecificationProperty

interface AudioSpecificationProperty

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

Specifies the audio input specifications.

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 audioSpecificationProperty: lex.CfnBot.AudioSpecificationProperty = {
  endTimeoutMs: 123,
  maxLengthMs: 123,
};

Properties

NameTypeDescription
endTimeoutMsnumberTime for which a bot waits after the customer stops speaking to assume the utterance is finished.
maxLengthMsnumberTime for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

endTimeoutMs

Type: number

Time for which a bot waits after the customer stops speaking to assume the utterance is finished.


maxLengthMs

Type: number

Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.