CfnRoutingProfileProps Struct
Properties for defining a CfnRoutingProfile.
| Source | |
|---|---|
| Type last changed |
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 cfnRoutingProfileProps: connect.CfnRoutingProfileProps = {
defaultOutboundQueueArn: 'defaultOutboundQueueArn',
description: 'description',
instanceArn: 'instanceArn',
mediaConcurrencies: [{
channel: 'channel',
concurrency: 123,
// the properties below are optional
crossChannelBehavior: {
behaviorType: 'behaviorType',
},
}],
name: 'name',
// the properties below are optional
agentAvailabilityTimer: 'agentAvailabilityTimer',
manualAssignmentQueueConfigs: [{
queueReference: {
channel: 'channel',
queueArn: 'queueArn',
},
}],
queueConfigs: [{
delay: 123,
priority: 123,
queueReference: {
channel: 'channel',
queueArn: 'queueArn',
},
}],
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_routing_profile_props = connect.CfnRoutingProfileProps(
default_outbound_queue_arn="defaultOutboundQueueArn",
description="description",
instance_arn="instanceArn",
media_concurrencies=[connect.CfnRoutingProfile.MediaConcurrencyProperty(
channel="channel",
concurrency=123,
# the properties below are optional
cross_channel_behavior=connect.CfnRoutingProfile.CrossChannelBehaviorProperty(
behavior_type="behaviorType"
)
)],
name="name",
# the properties below are optional
agent_availability_timer="agentAvailabilityTimer",
manual_assignment_queue_configs=[connect.CfnRoutingProfile.RoutingProfileManualAssignmentQueueConfigProperty(
queue_reference=connect.CfnRoutingProfile.RoutingProfileQueueReferenceProperty(
channel="channel",
queue_arn="queueArn"
)
)],
queue_configs=[connect.CfnRoutingProfile.RoutingProfileQueueConfigProperty(
delay=123,
priority=123,
queue_reference=connect.CfnRoutingProfile.RoutingProfileQueueReferenceProperty(
channel="channel",
queue_arn="queueArn"
)
)],
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.*;
CfnRoutingProfileProps cfnRoutingProfileProps = CfnRoutingProfileProps.builder()
.defaultOutboundQueueArn("defaultOutboundQueueArn")
.description("description")
.instanceArn("instanceArn")
.mediaConcurrencies(List.of(MediaConcurrencyProperty.builder()
.channel("channel")
.concurrency(123)
// the properties below are optional
.crossChannelBehavior(CrossChannelBehaviorProperty.builder()
.behaviorType("behaviorType")
.build())
.build()))
.name("name")
// the properties below are optional
.agentAvailabilityTimer("agentAvailabilityTimer")
.manualAssignmentQueueConfigs(List.of(RoutingProfileManualAssignmentQueueConfigProperty.builder()
.queueReference(RoutingProfileQueueReferenceProperty.builder()
.channel("channel")
.queueArn("queueArn")
.build())
.build()))
.queueConfigs(List.of(RoutingProfileQueueConfigProperty.builder()
.delay(123)
.priority(123)
.queueReference(RoutingProfileQueueReferenceProperty.builder()
.channel("channel")
.queueArn("queueArn")
.build())
.build()))
.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 cfnRoutingProfileProps = new CfnRoutingProfileProps {
DefaultOutboundQueueArn = "defaultOutboundQueueArn",
Description = "description",
InstanceArn = "instanceArn",
MediaConcurrencies = new [] { new MediaConcurrencyProperty {
Channel = "channel",
Concurrency = 123,
// the properties below are optional
CrossChannelBehavior = new CrossChannelBehaviorProperty {
BehaviorType = "behaviorType"
}
} },
Name = "name",
// the properties below are optional
AgentAvailabilityTimer = "agentAvailabilityTimer",
ManualAssignmentQueueConfigs = new [] { new RoutingProfileManualAssignmentQueueConfigProperty {
QueueReference = new RoutingProfileQueueReferenceProperty {
Channel = "channel",
QueueArn = "queueArn"
}
} },
QueueConfigs = new [] { new RoutingProfileQueueConfigProperty {
Delay = 123,
Priority = 123,
QueueReference = new RoutingProfileQueueReferenceProperty {
Channel = "channel",
QueueArn = "queueArn"
}
} },
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"
cfnRoutingProfileProps := &CfnRoutingProfileProps{
DefaultOutboundQueueArn: jsii.String("defaultOutboundQueueArn"),
Description: jsii.String("description"),
InstanceArn: jsii.String("instanceArn"),
MediaConcurrencies: []interface{}{
&MediaConcurrencyProperty{
Channel: jsii.String("channel"),
Concurrency: jsii.Number(123),
// the properties below are optional
CrossChannelBehavior: &CrossChannelBehaviorProperty{
BehaviorType: jsii.String("behaviorType"),
},
},
},
Name: jsii.String("name"),
// the properties below are optional
AgentAvailabilityTimer: jsii.String("agentAvailabilityTimer"),
ManualAssignmentQueueConfigs: []interface{}{
&RoutingProfileManualAssignmentQueueConfigProperty{
QueueReference: &RoutingProfileQueueReferenceProperty{
Channel: jsii.String("channel"),
QueueArn: jsii.String("queueArn"),
},
},
},
QueueConfigs: []interface{}{
&RoutingProfileQueueConfigProperty{
Delay: jsii.Number(123),
Priority: jsii.Number(123),
QueueReference: &RoutingProfileQueueReferenceProperty{
Channel: jsii.String("channel"),
QueueArn: jsii.String("queueArn"),
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
agentAvailabilityTimeroptionalstringagent_availability_timeroptionalstragentAvailabilityTimeroptionalStringAgentAvailabilityTimeroptionalstringAgentAvailabilityTimeroptional*string #Whether agents with this routing profile will have their routing order calculated based on *time since their last inbound contact* or *longest idle time* .
defaultOutboundQueueArnstringdefault_outbound_queue_arnstrdefaultOutboundQueueArnStringDefaultOutboundQueueArnstringDefaultOutboundQueueArn*string required #The Amazon Resource Name (ARN) of the default outbound queue for the routing profile.
The description of the routing profile.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{} required #The identifier of the Connect Customer instance.
manualAssignmentQueueConfigsoptionalIResolvable | IResolvable | CfnRoutingProfile.manual_assignment_queue_configsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RoutingProfileManualAssignmentQueueConfigProperty]]]manualAssignmentQueueConfigsoptionalIResolvableManualAssignmentQueueConfigsoptionalIResolvableManualAssignmentQueueConfigsoptionalinterface{} #Contains information about the queue and channel for manual assignment behaviour can be enabled.
mediaConcurrenciesIResolvable | IResolvable | CfnRoutingProfile.media_concurrenciestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MediaConcurrencyProperty]]]mediaConcurrenciesIResolvableMediaConcurrenciesIResolvableMediaConcurrenciesinterface{} required #The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
The name of the routing profile.
queueConfigsoptionalIResolvable | IResolvable | CfnRoutingProfile.queue_configsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RoutingProfileQueueConfigProperty]]]queueConfigsoptionalIResolvableQueueConfigsoptionalIResolvableQueueConfigsoptionalinterface{} #The inbound queues associated with the routing profile.
If no queue is added, the agent can make only outbound calls.