Skip to content
v2.278.0

QuickConnectConfigProperty Struct ​

Contains configuration settings for a quick connect.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const quickConnectConfigProperty: connect.CfnQuickConnect.QuickConnectConfigProperty = {
  quickConnectType: 'quickConnectType',

  // the properties below are optional
  flowConfig: {
    contactFlowArn: 'contactFlowArn',
  },
  phoneConfig: {
    phoneNumber: 'phoneNumber',
  },
  queueConfig: {
    contactFlowArn: 'contactFlowArn',
    queueArn: 'queueArn',
  },
  userConfig: {
    contactFlowArn: 'contactFlowArn',
    userArn: 'userArn',
  },
};
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_connect as connect

quick_connect_config_property = connect.CfnQuickConnect.QuickConnectConfigProperty(
    quick_connect_type="quickConnectType",

    # the properties below are optional
    flow_config=connect.CfnQuickConnect.FlowQuickConnectConfigProperty(
        contact_flow_arn="contactFlowArn"
    ),
    phone_config=connect.CfnQuickConnect.PhoneNumberQuickConnectConfigProperty(
        phone_number="phoneNumber"
    ),
    queue_config=connect.CfnQuickConnect.QueueQuickConnectConfigProperty(
        contact_flow_arn="contactFlowArn",
        queue_arn="queueArn"
    ),
    user_config=connect.CfnQuickConnect.UserQuickConnectConfigProperty(
        contact_flow_arn="contactFlowArn",
        user_arn="userArn"
    )
)
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.connect.*;

QuickConnectConfigProperty quickConnectConfigProperty = QuickConnectConfigProperty.builder()
        .quickConnectType("quickConnectType")

        // the properties below are optional
        .flowConfig(FlowQuickConnectConfigProperty.builder()
                .contactFlowArn("contactFlowArn")
                .build())
        .phoneConfig(PhoneNumberQuickConnectConfigProperty.builder()
                .phoneNumber("phoneNumber")
                .build())
        .queueConfig(QueueQuickConnectConfigProperty.builder()
                .contactFlowArn("contactFlowArn")
                .queueArn("queueArn")
                .build())
        .userConfig(UserQuickConnectConfigProperty.builder()
                .contactFlowArn("contactFlowArn")
                .userArn("userArn")
                .build())
        .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.Connect;

var quickConnectConfigProperty = new QuickConnectConfigProperty {
    QuickConnectType = "quickConnectType",

    // the properties below are optional
    FlowConfig = new FlowQuickConnectConfigProperty {
        ContactFlowArn = "contactFlowArn"
    },
    PhoneConfig = new PhoneNumberQuickConnectConfigProperty {
        PhoneNumber = "phoneNumber"
    },
    QueueConfig = new QueueQuickConnectConfigProperty {
        ContactFlowArn = "contactFlowArn",
        QueueArn = "queueArn"
    },
    UserConfig = new UserQuickConnectConfigProperty {
        ContactFlowArn = "contactFlowArn",
        UserArn = "userArn"
    }
};
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"

quickConnectConfigProperty := &QuickConnectConfigProperty{
	QuickConnectType: jsii.String("quickConnectType"),

	// the properties below are optional
	FlowConfig: &FlowQuickConnectConfigProperty{
		ContactFlowArn: jsii.String("contactFlowArn"),
	},
	PhoneConfig: &PhoneNumberQuickConnectConfigProperty{
		PhoneNumber: jsii.String("phoneNumber"),
	},
	QueueConfig: &QueueQuickConnectConfigProperty{
		ContactFlowArn: jsii.String("contactFlowArn"),
		QueueArn: jsii.String("queueArn"),
	},
	UserConfig: &UserQuickConnectConfigProperty{
		ContactFlowArn: jsii.String("contactFlowArn"),
		UserArn: jsii.String("userArn"),
	},
}

Properties ​

flowConfigoptionalIResolvable | CfnQuickConnect.FlowQuickConnectConfigPropertyflow_configoptionaltyping.Union[IResolvable, FlowQuickConnectConfigProperty]flowConfigoptionalIResolvableFlowConfigoptionalIResolvableFlowConfigoptionalinterface{} #
The flow configuration.

This is required only if QuickConnectType is FLOW.

phoneConfigoptionalIResolvable | CfnQuickConnect.PhoneNumberQuickConnectConfigPropertyphone_configoptionaltyping.Union[IResolvable, PhoneNumberQuickConnectConfigProperty]phoneConfigoptionalIResolvablePhoneConfigoptionalIResolvablePhoneConfigoptionalinterface{} #
The phone configuration.

This is required only if QuickConnectType is PHONE_NUMBER.

queueConfigoptionalIResolvable | CfnQuickConnect.QueueQuickConnectConfigPropertyqueue_configoptionaltyping.Union[IResolvable, QueueQuickConnectConfigProperty]queueConfigoptionalIResolvableQueueConfigoptionalIResolvableQueueConfigoptionalinterface{} #
The queue configuration.

This is required only if QuickConnectType is QUEUE.

quickConnectTypestringquick_connect_typestrquickConnectTypeStringQuickConnectTypestringQuickConnectType*string required #
The type of quick connect.

In the Connect Customer console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).

userConfigoptionalIResolvable | CfnQuickConnect.UserQuickConnectConfigPropertyuser_configoptionaltyping.Union[IResolvable, UserQuickConnectConfigProperty]userConfigoptionalIResolvableUserConfigoptionalIResolvableUserConfigoptionalinterface{} #
The user configuration.

This is required only if QuickConnectType is USER.