Skip to content
v2.276.0

CfnQuickConnectProps Struct ​

Properties for defining a CfnQuickConnect.

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 cfnQuickConnectProps: connect.CfnQuickConnectProps = {
  instanceArn: 'instanceArn',
  name: 'name',
  quickConnectConfig: {
    quickConnectType: 'quickConnectType',

    // the properties below are optional
    flowConfig: {
      contactFlowArn: 'contactFlowArn',
    },
    phoneConfig: {
      phoneNumber: 'phoneNumber',
    },
    queueConfig: {
      contactFlowArn: 'contactFlowArn',
      queueArn: 'queueArn',
    },
    userConfig: {
      contactFlowArn: 'contactFlowArn',
      userArn: 'userArn',
    },
  },

  // the properties below are optional
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# 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

cfn_quick_connect_props = connect.CfnQuickConnectProps(
    instance_arn="instanceArn",
    name="name",
    quick_connect_config=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"
        )
    ),

    # the properties below are optional
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.*;

CfnQuickConnectProps cfnQuickConnectProps = CfnQuickConnectProps.builder()
        .instanceArn("instanceArn")
        .name("name")
        .quickConnectConfig(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())

        // the properties below are optional
        .description("description")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .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 cfnQuickConnectProps = new CfnQuickConnectProps {
    InstanceArn = "instanceArn",
    Name = "name",
    QuickConnectConfig = 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"
        }
    },

    // the properties below are optional
    Description = "description",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnQuickConnectProps := &CfnQuickConnectProps{
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),
	QuickConnectConfig: &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"),
		},
	},

	// the properties below are optional
	Description: jsii.String("description"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the quick connect.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{}required#
The Amazon Resource Name (ARN) of the instance.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the quick connect.
quickConnectConfigIResolvable | CfnQuickConnect.QuickConnectConfigPropertyquick_connect_configtyping.Union[IResolvable, QuickConnectConfigProperty]quickConnectConfigIResolvableQuickConnectConfigIResolvableQuickConnectConfiginterface{}required#
Contains information about the quick connect.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
The tags used to organize, track, or control access for this resource.

For example, { "Tags": {"key1":"value1", "key2":"value2"} }.