interface DTMFSpecificationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.DTMFSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DTMFSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.DTMFSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.DTMFSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const dTMFSpecificationProperty: lex.CfnBot.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
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
endCharacter
Type:
string
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
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
maxLength
Type:
number
The maximum number of DTMF digits allowed in an utterance.