# DTMFSpecificationProperty

Specifies the DTMF input specifications.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 dTMFSpecificationProperty: lex.CfnBot.DTMFSpecificationProperty = {
  deletionCharacter: 'deletionCharacter',
  endCharacter: 'endCharacter',
  endTimeoutMs: 123,
  maxLength: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lex as lex

d_tmf_specification_property = lex.CfnBot.DTMFSpecificationProperty(
    deletion_character="deletionCharacter",
    end_character="endCharacter",
    end_timeout_ms=123,
    max_length=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;

DTMFSpecificationProperty dTMFSpecificationProperty = DTMFSpecificationProperty.builder()
        .deletionCharacter("deletionCharacter")
        .endCharacter("endCharacter")
        .endTimeoutMs(123)
        .maxLength(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lex;

var dTMFSpecificationProperty = new DTMFSpecificationProperty {
    DeletionCharacter = "deletionCharacter",
    EndCharacter = "endCharacter",
    EndTimeoutMs = 123,
    MaxLength = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dTMFSpecificationProperty := &DTMFSpecificationProperty{
	DeletionCharacter: jsii.String("deletionCharacter"),
	EndCharacter: jsii.String("endCharacter"),
	EndTimeoutMs: jsii.Number(123),
	MaxLength: jsii.Number(123),
}
```

## Properties

- `deletionCharacter`: string (required) — The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

- `endCharacter`: string (required) — The DTMF character that immediately ends input.

  If the user does not press this character, the input ends after the end timeout.

- `endTimeoutMs`: number (required) — How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

- `maxLength`: number (required) — The maximum number of DTMF digits allowed in an utterance.
