aws-cdk-lib.aws_lex.CfnBot.AudioAndDTMFInputSpecificationProperty

interface AudioAndDTMFInputSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lex.CfnBot.AudioAndDTMFInputSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_AudioAndDTMFInputSpecificationProperty
Javasoftware.amazon.awscdk.services.lex.CfnBot.AudioAndDTMFInputSpecificationProperty
Pythonaws_cdk.aws_lex.CfnBot.AudioAndDTMFInputSpecificationProperty
TypeScript aws-cdk-lib » aws_lex » CfnBot » 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 { aws_lex as lex } from 'aws-cdk-lib';
const audioAndDTMFInputSpecificationProperty: lex.CfnBot.AudioAndDTMFInputSpecificationProperty = {
  startTimeoutMs: 123,

  // the properties below are optional
  audioSpecification: {
    endTimeoutMs: 123,
    maxLengthMs: 123,
  },
  dtmfSpecification: {
    deletionCharacter: 'deletionCharacter',
    endCharacter: 'endCharacter',
    endTimeoutMs: 123,
    maxLength: 123,
  },
};

Properties

NameTypeDescription
startTimeoutMsnumberTime for which a bot waits before assuming that the customer isn't going to speak or press a key.
audioSpecification?IResolvable | AudioSpecificationPropertySpecifies the settings on audio input.
dtmfSpecification?IResolvable | DTMFSpecificationPropertySpecifies the settings on DTMF input.

startTimeoutMs

Type: number

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.


audioSpecification?

Type: IResolvable | AudioSpecificationProperty (optional)

Specifies the settings on audio input.


dtmfSpecification?

Type: IResolvable | DTMFSpecificationProperty (optional)

Specifies the settings on DTMF input.