interface AudioAndDTMFInputSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.AudioAndDTMFInputSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_AudioAndDTMFInputSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.AudioAndDTMFInputSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.AudioAndDTMFInputSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » AudioAndDTMFInputSpecificationProperty |
Specifies the audio and DTMF input specification.
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 audioAndDTMFInputSpecificationProperty: lex_mixins.CfnBotPropsMixin.AudioAndDTMFInputSpecificationProperty = {
audioSpecification: {
endTimeoutMs: 123,
maxLengthMs: 123,
},
dtmfSpecification: {
deletionCharacter: 'deletionCharacter',
endCharacter: 'endCharacter',
endTimeoutMs: 123,
maxLength: 123,
},
startTimeoutMs: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| audio | IResolvable | Audio | Specifies the settings on audio input. |
| dtmf | IResolvable | DTMFSpecification | Specifies the settings on DTMF input. |
| start | number | Time for which a bot waits before assuming that the customer isn't going to speak or press a key. |
audioSpecification?
Type:
IResolvable | Audio
(optional)
Specifies the settings on audio input.
dtmfSpecification?
Type:
IResolvable | DTMFSpecification
(optional)
Specifies the settings on DTMF input.
startTimeoutMs?
Type:
number
(optional)
Time for which a bot waits before assuming that the customer isn't going to speak or press a key.
This timeout is shared between Audio and DTMF inputs.

.NET
Go
Java
Python
TypeScript