aws-cdk-lib.aws_lex.CfnBot.DTMFSpecificationProperty

interface DTMFSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.DTMFSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DTMFSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.DTMFSpecificationProperty
Pythonaws_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

NameTypeDescription
deletionCharacterstringThe DTMF character that clears the accumulated DTMF digits and immediately ends the input.
endCharacterstringThe DTMF character that immediately ends input.
endTimeoutMsnumberHow long the bot should wait after the last DTMF character input before assuming that the input has concluded.
maxLengthnumberThe 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.