Skip to main content

routing_profiles

Creates, updates, deletes or gets a routing_profile resource or lists routing_profiles in a region

Overview

Namerouting_profiles
TypeResource
DescriptionResource Type definition for AWS::Connect::RoutingProfile
Idawscc.connect.routing_profiles

Fields

NameDatatypeDescription
instance_arnstringThe identifier of the Amazon Connect instance.
namestringThe name of the routing profile.
descriptionstringThe description of the routing profile.
media_concurrenciesarrayThe channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
default_outbound_queue_arnstringThe identifier of the default outbound queue for this routing profile.
routing_profile_arnstringThe Amazon Resource Name (ARN) of the routing profile.
queue_configsarrayThe queues to associate with this routing profile.
tagsarrayAn array of key-value pairs to apply to this resource.
agent_availability_timerstringWhether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
regionstringAWS region.

For more information, see AWS::Connect::RoutingProfile.

Methods

NameResourceAccessible byRequired Params
create_resourcerouting_profilesINSERTInstanceArn, Name, Description, MediaConcurrencies, DefaultOutboundQueueArn, region
delete_resourcerouting_profilesDELETEIdentifier, region
update_resourcerouting_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesrouting_profiles_list_onlySELECTregion
get_resourcerouting_profilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual routing_profile.

SELECT
region,
instance_arn,
name,
description,
media_concurrencies,
default_outbound_queue_arn,
routing_profile_arn,
queue_configs,
tags,
agent_availability_timer
FROM awscc.connect.routing_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ routing_profile_arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new routing_profile resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.connect.routing_profiles (
InstanceArn,
Name,
Description,
MediaConcurrencies,
DefaultOutboundQueueArn,
region
)
SELECT
'{{ instance_arn }}',
'{{ name }}',
'{{ description }}',
'{{ media_concurrencies }}',
'{{ default_outbound_queue_arn }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a routing_profile resource, using stack-deploy.

/*+ update */
UPDATE awscc.connect.routing_profiles
SET PatchDocument = string('{{ {
"InstanceArn": instance_arn,
"Name": name,
"Description": description,
"MediaConcurrencies": media_concurrencies,
"DefaultOutboundQueueArn": default_outbound_queue_arn,
"QueueConfigs": queue_configs,
"Tags": tags,
"AgentAvailabilityTimer": agent_availability_timer
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ routing_profile_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.connect.routing_profiles
WHERE
Identifier = '{{ routing_profile_arn }}' AND
region = 'us-east-1';

Permissions

To operate on the routing_profiles resource, the following permissions are required:

connect:CreateRoutingProfile,
connect:TagResource