interface AudioSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.AudioSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_AudioSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.AudioSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.AudioSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » 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 { aws_lex as lex } from '@aws-cdk/cfn-property-mixins';
const audioSpecificationProperty: lex.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