CfnRoutingProfilePropsMixin
- class aws_cdk.mixins_preview.aws_connect.mixins.CfnRoutingProfilePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a new routing profile.
- See:
- CloudformationResource:
AWS::Connect::RoutingProfile
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cfn_routing_profile_props_mixin = connect_mixins.CfnRoutingProfilePropsMixin(connect_mixins.CfnRoutingProfileMixinProps( agent_availability_timer="agentAvailabilityTimer", default_outbound_queue_arn="defaultOutboundQueueArn", description="description", instance_arn="instanceArn", manual_assignment_queue_configs=[connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileManualAssignmentQueueConfigProperty( queue_reference=connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty( channel="channel", queue_arn="queueArn" ) )], media_concurrencies=[connect_mixins.CfnRoutingProfilePropsMixin.MediaConcurrencyProperty( channel="channel", concurrency=123, cross_channel_behavior=connect_mixins.CfnRoutingProfilePropsMixin.CrossChannelBehaviorProperty( behavior_type="behaviorType" ) )], name="name", queue_configs=[connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueConfigProperty( delay=123, priority=123, queue_reference=connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty( channel="channel", queue_arn="queueArn" ) )], tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Connect::RoutingProfile.- Parameters:
props (
Union[CfnRoutingProfileMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['agentAvailabilityTimer', 'defaultOutboundQueueArn', 'description', 'instanceArn', 'manualAssignmentQueueConfigs', 'mediaConcurrencies', 'name', 'queueConfigs', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
CrossChannelBehaviorProperty
- class CfnRoutingProfilePropsMixin.CrossChannelBehaviorProperty(*, behavior_type=None)
Bases:
objectDefines the cross-channel routing behavior that allows an agent working on a contact in one channel to be offered a contact from a different channel.
- Parameters:
behavior_type (
Optional[str]) – Specifies the other channels that can be routed to an agent handling their current channel.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins cross_channel_behavior_property = connect_mixins.CfnRoutingProfilePropsMixin.CrossChannelBehaviorProperty( behavior_type="behaviorType" )
Attributes
- behavior_type
Specifies the other channels that can be routed to an agent handling their current channel.
MediaConcurrencyProperty
- class CfnRoutingProfilePropsMixin.MediaConcurrencyProperty(*, channel=None, concurrency=None, cross_channel_behavior=None)
Bases:
objectContains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
- Parameters:
channel (
Optional[str]) – The channels that agents can handle in the Contact Control Panel (CCP).concurrency (
Union[int,float,None]) – 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.cross_channel_behavior (
Union[IResolvable,CrossChannelBehaviorProperty,Dict[str,Any],None]) – Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins media_concurrency_property = connect_mixins.CfnRoutingProfilePropsMixin.MediaConcurrencyProperty( channel="channel", concurrency=123, cross_channel_behavior=connect_mixins.CfnRoutingProfilePropsMixin.CrossChannelBehaviorProperty( behavior_type="behaviorType" ) )
Attributes
- channel
The channels that agents can handle in the Contact Control Panel (CCP).
- concurrency
The number of contacts an agent can have on a channel simultaneously.
Valid Range for
VOICE: Minimum value of 1. Maximum value of 1.Valid Range for
CHAT: Minimum value of 1. Maximum value of 10.Valid Range for
TASK: Minimum value of 1. Maximum value of 10.
- cross_channel_behavior
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile.
For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
RoutingProfileManualAssignmentQueueConfigProperty
- class CfnRoutingProfilePropsMixin.RoutingProfileManualAssignmentQueueConfigProperty(*, queue_reference=None)
Bases:
objectContains information about the queue and channel for manual assignment behaviour can be enabled.
- Parameters:
queue_reference (
Union[IResolvable,RoutingProfileQueueReferenceProperty,Dict[str,Any],None]) – Contains information about a queue resource.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins routing_profile_manual_assignment_queue_config_property = connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileManualAssignmentQueueConfigProperty( queue_reference=connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty( channel="channel", queue_arn="queueArn" ) )
Attributes
- queue_reference
Contains information about a queue resource.
RoutingProfileQueueConfigProperty
- class CfnRoutingProfilePropsMixin.RoutingProfileQueueConfigProperty(*, delay=None, priority=None, queue_reference=None)
Bases:
objectContains information about the queue and channel for which priority and delay can be set.
- Parameters:
delay (
Union[int,float,None]) – The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide .priority (
Union[int,float,None]) –The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay .
queue_reference (
Union[IResolvable,RoutingProfileQueueReferenceProperty,Dict[str,Any],None]) – Contains information about a queue resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins routing_profile_queue_config_property = connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueConfigProperty( delay=123, priority=123, queue_reference=connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty( channel="channel", queue_arn="queueArn" ) )
Attributes
- delay
The delay, in seconds, a contact should be in the queue before they are routed to an available agent.
For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide .
- priority
The order in which contacts are to be handled for the queue.
For more information, see Queues: priority and delay .
- queue_reference
Contains information about a queue resource.
RoutingProfileQueueReferenceProperty
- class CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty(*, channel=None, queue_arn=None)
Bases:
objectContains the channel and queue identifier for a routing profile.
- Parameters:
channel (
Optional[str]) – The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.queue_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the queue.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_connect import mixins as connect_mixins routing_profile_queue_reference_property = connect_mixins.CfnRoutingProfilePropsMixin.RoutingProfileQueueReferenceProperty( channel="channel", queue_arn="queueArn" )
Attributes
- channel
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
- queue_arn
The Amazon Resource Name (ARN) of the queue.