interface AudioSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.AudioSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_AudioSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.AudioSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.AudioSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const audioSpecificationProperty: lex_mixins.CfnBotPropsMixin.AudioSpecificationProperty = {
endTimeoutMs: 123,
maxLengthMs: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| end | number | Time for which a bot waits after the customer stops speaking to assume the utterance is finished. |
| max | number | Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application. |
endTimeoutMs?
Type:
number
(optional)
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
maxLengthMs?
Type:
number
(optional)
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

.NET
Go
Java
Python
TypeScript