# OutboundCallConfigProperty

Contains outbound call configuration for an outbound campaign.

- Source: Generated at build time
- Type last changed: v2.102.0 · 19 Oct 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_connectcampaigns as connectcampaigns } from 'aws-cdk-lib';
const outboundCallConfigProperty: connectcampaigns.CfnCampaign.OutboundCallConfigProperty = {
  connectContactFlowArn: 'connectContactFlowArn',

  // the properties below are optional
  answerMachineDetectionConfig: {
    enableAnswerMachineDetection: false,

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

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_connectcampaigns as connectcampaigns

outbound_call_config_property = connectcampaigns.CfnCampaign.OutboundCallConfigProperty(
    connect_contact_flow_arn="connectContactFlowArn",

    # the properties below are optional
    answer_machine_detection_config=connectcampaigns.CfnCampaign.AnswerMachineDetectionConfigProperty(
        enable_answer_machine_detection=False,

        # the properties below are optional
        await_answer_machine_prompt=False
    ),
    connect_queue_arn="connectQueueArn",
    connect_source_phone_number="connectSourcePhoneNumber"
)
```

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

OutboundCallConfigProperty outboundCallConfigProperty = OutboundCallConfigProperty.builder()
        .connectContactFlowArn("connectContactFlowArn")

        // the properties below are optional
        .answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder()
                .enableAnswerMachineDetection(false)

                // the properties below are optional
                .awaitAnswerMachinePrompt(false)
                .build())
        .connectQueueArn("connectQueueArn")
        .connectSourcePhoneNumber("connectSourcePhoneNumber")
        .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.ConnectCampaigns;

var outboundCallConfigProperty = new OutboundCallConfigProperty {
    ConnectContactFlowArn = "connectContactFlowArn",

    // the properties below are optional
    AnswerMachineDetectionConfig = new AnswerMachineDetectionConfigProperty {
        EnableAnswerMachineDetection = false,

        // the properties below are optional
        AwaitAnswerMachinePrompt = false
    },
    ConnectQueueArn = "connectQueueArn",
    ConnectSourcePhoneNumber = "connectSourcePhoneNumber"
};
```

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"

outboundCallConfigProperty := &OutboundCallConfigProperty{
	ConnectContactFlowArn: jsii.String("connectContactFlowArn"),

	// the properties below are optional
	AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
		EnableAnswerMachineDetection: jsii.Boolean(false),

		// the properties below are optional
		AwaitAnswerMachinePrompt: jsii.Boolean(false),
	},
	ConnectQueueArn: jsii.String("connectQueueArn"),
	ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
}
```

## Properties

- `answerMachineDetectionConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCampaign.AnswerMachineDetectionConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_connectcampaigns.CfnCampaign.AnswerMachineDetectionConfigProperty.html) — Whether answering machine detection has been enabled.

- `connectContactFlowArn`: string (required) — The Amazon Resource Name (ARN) of the flow.

- `connectQueueArn`: string — The Amazon Resource Name (ARN) of the queue.

- `connectSourcePhoneNumber`: string — The phone number associated with the outbound call.

  This is the caller ID that is displayed to customers when an agent calls them.
