interface DTMFSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.DTMFSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_DTMFSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.DTMFSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.DTMFSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » DTMFSpecificationProperty |
Specifies the DTMF 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 dTMFSpecificationProperty: lex_mixins.CfnBotPropsMixin.DTMFSpecificationProperty = {
deletionCharacter: 'deletionCharacter',
endCharacter: 'endCharacter',
endTimeoutMs: 123,
maxLength: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| deletion | string | The DTMF character that clears the accumulated DTMF digits and immediately ends the input. |
| end | string | The DTMF character that immediately ends input. |
| end | number | How long the bot should wait after the last DTMF character input before assuming that the input has concluded. |
| max | number | The maximum number of DTMF digits allowed in an utterance. |
deletionCharacter?
Type:
string
(optional)
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
endCharacter?
Type:
string
(optional)
The DTMF character that immediately ends input.
If the user does not press this character, the input ends after the end timeout.
endTimeoutMs?
Type:
number
(optional)
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
maxLength?
Type:
number
(optional)
The maximum number of DTMF digits allowed in an utterance.

.NET
Go
Java
Python
TypeScript