Skip to content
v2.278.0

OutboundCallConfigProperty Struct ​

Contains outbound call configuration for an outbound campaign.

Example ​

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
# 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
// 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();
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"
};
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 ​

answerMachineDetectionConfigoptionalIResolvable | CfnCampaign.AnswerMachineDetectionConfigPropertyanswer_machine_detection_configoptionaltyping.Union[IResolvable, AnswerMachineDetectionConfigProperty]answerMachineDetectionConfigoptionalIResolvableAnswerMachineDetectionConfigoptionalIResolvableAnswerMachineDetectionConfigoptionalinterface{} #
Whether answering machine detection has been enabled.
connectContactFlowArnstringconnect_contact_flow_arnstrconnectContactFlowArnStringConnectContactFlowArnstringConnectContactFlowArn*string required #
The Amazon Resource Name (ARN) of the flow.
connectQueueArnoptionalstringconnect_queue_arnoptionalstrconnectQueueArnoptionalStringConnectQueueArnoptionalstringConnectQueueArnoptional*string #
The Amazon Resource Name (ARN) of the queue.
connectSourcePhoneNumberoptionalstringconnect_source_phone_numberoptionalstrconnectSourcePhoneNumberoptionalStringConnectSourcePhoneNumberoptionalstringConnectSourcePhoneNumberoptional*string #
The phone number associated with the outbound call.

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