Resource: awsConnectRoutingProfile
Provides an Amazon Connect Routing Profile resource. For more information see Amazon Connect: Getting Started
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.connectRoutingProfile.ConnectRoutingProfile(this, "example", {
defaultOutboundQueueId: "12345678-1234-1234-1234-123456789012",
description: "example description",
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
mediaConcurrencies: [
{
channel: "VOICE",
concurrency: 1,
},
],
name: "example",
queueConfigs: [
{
channel: "VOICE",
delay: 2,
priority: 1,
queueId: "12345678-1234-1234-1234-123456789012",
},
],
tags: {
Name: "Example Routing Profile",
},
});
Argument Reference
The following arguments are supported:
defaultOutboundQueueId
- (Required) Specifies the default outbound queue for the Routing Profile.description
- (Required) Specifies the description of the Routing Profile.instanceId
- (Required) Specifies the identifier of the hosting Amazon Connect Instance.mediaConcurrencies
- (Required) One or moremediaConcurrencies
blocks that specify the channels that agents can handle in the Contact Control Panel (CCP) for this Routing Profile. ThemediaConcurrencies
block is documented below.name
- (Required) Specifies the name of the Routing Profile.queueConfigs
- (Optional) One or morequeueConfigs
blocks that specify the inbound queues associated with the routing profile. If no queue is added, the agent only can make outbound calls. ThequeueConfigs
block is documented below.tags
- (Optional) Tags to apply to the Routing Profile. If configured with a providerdefaultTags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
A mediaConcurrencies
block supports the following arguments:
channel
- (Required) Specifies the channels that agents can handle in the Contact Control Panel (CCP). Valid values arevoice
,chat
,task
.concurrency
- (Required) Specifies the number of contacts an agent can have on a channel simultaneously. Valid Range forvoice
: Minimum value of 1. Maximum value of 1. Valid Range forchat
: Minimum value of 1. Maximum value of 10. Valid Range fortask
: Minimum value of 1. Maximum value of 10.
A queueConfigs
block supports the following arguments:
channel
- (Required) Specifies the channels agents can handle in the Contact Control Panel (CCP) for this routing profile. Valid values arevoice
,chat
,task
.delay
- (Required) Specifies the delay, in seconds, that a contact should be in the queue before they are routed to an available agentpriority
- (Required) Specifies the order in which contacts are to be handled for the queue.queueId
- (Required) Specifies the identifier for the queue.
Attributes Reference
In addition to all arguments above, the following attributes are exported:
arn
- The Amazon Resource Name (ARN) of the Routing Profile.id
- The identifier of the hosting Amazon Connect Instance and identifier of the Routing Profile separated by a colon (:
).queueConfigs
- In addition to the arguments used in thequeueConfigs
argument block, there are additional attributes exported within thequeueConfigs
block. These additional attributes are documented below.routingProfileId
- The identifier for the Routing Profile.tagsAll
- A map of tags assigned to the resource, including those inherited from the providerdefaultTags
configuration block.
A queueConfigs
block supports the following attributes in addition to the arguments defined earlier:
queueArn
- ARN for the queue.queueName
- Name for the queue.
Import
Amazon Connect Routing Profiles can be imported using the instanceId
and routingProfileId
separated by a colon (:
), e.g.,