# AudioAndDTMFInputSpecificationProperty

Specifies the audio and DTMF input specification.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// 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

- `audioSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.AudioSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.AudioSpecificationProperty.html) — Specifies the settings on audio input.

- `dtmfSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.DTMFSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.DTMFSpecificationProperty.html) — Specifies the settings on DTMF input.

- `startTimeoutMs`: number (required) — 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.
