# AnswerMachineDetectionConfigProperty

Contains answering machine detection configuration.

- Source: Generated at build time
- Type last changed: v2.168.0 · 20 Nov 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connectcampaignsv2 as connectcampaignsv2 } from 'aws-cdk-lib';
const answerMachineDetectionConfigProperty: connectcampaignsv2.CfnCampaign.AnswerMachineDetectionConfigProperty = {
  enableAnswerMachineDetection: false,

  // the properties below are optional
  awaitAnswerMachinePrompt: false,
};
```

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_connectcampaignsv2 as connectcampaignsv2

answer_machine_detection_config_property = connectcampaignsv2.CfnCampaign.AnswerMachineDetectionConfigProperty(
    enable_answer_machine_detection=False,

    # the properties below are optional
    await_answer_machine_prompt=False
)
```

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.connectcampaignsv2.*;

AnswerMachineDetectionConfigProperty answerMachineDetectionConfigProperty = AnswerMachineDetectionConfigProperty.builder()
        .enableAnswerMachineDetection(false)

        // the properties below are optional
        .awaitAnswerMachinePrompt(false)
        .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.ConnectCampaignsV2;

var answerMachineDetectionConfigProperty = new AnswerMachineDetectionConfigProperty {
    EnableAnswerMachineDetection = false,

    // the properties below are optional
    AwaitAnswerMachinePrompt = false
};
```

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"

answerMachineDetectionConfigProperty := &AnswerMachineDetectionConfigProperty{
	EnableAnswerMachineDetection: jsii.Boolean(false),

	// the properties below are optional
	AwaitAnswerMachinePrompt: jsii.Boolean(false),
}
```

## Properties

- `awaitAnswerMachinePrompt`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether or not waiting for an answer machine prompt is enabled.

- `enableAnswerMachineDetection`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Enables answering machine detection.
