Class: AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueConfigProperty
- Defined in:
- connect/cfn_routing_profile.rb
Overview
Contains information about the queue and channel for which priority and delay can be set.
Instance Attribute Summary collapse
-
#delay ⇒ Numeric
readonly
The delay, in seconds, a contact should be in the queue before they are routed to an available agent.
-
#priority ⇒ Numeric
readonly
The order in which contacts are to be handled for the queue.
-
#queue_reference ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty
readonly
Contains information about a queue resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(delay:, priority:, queue_reference:) ⇒ RoutingProfileQueueConfigProperty
constructor
A new instance of RoutingProfileQueueConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(delay:, priority:, queue_reference:) ⇒ RoutingProfileQueueConfigProperty
Returns a new instance of RoutingProfileQueueConfigProperty.
750 751 752 753 754 755 756 757 |
# File 'connect/cfn_routing_profile.rb', line 750 def initialize(delay:, priority:, queue_reference:) @delay = delay Jsii::Type.check_type(@delay, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "delay") @priority = priority Jsii::Type.check_type(@priority, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "priority") @queue_reference = queue_reference.is_a?(Hash) ? ::AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty.new(**queue_reference.transform_keys(&:to_sym)) : queue_reference Jsii::Type.check_type(@queue_reference, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmblJvdXRpbmdQcm9maWxlLlJvdXRpbmdQcm9maWxlUXVldWVSZWZlcmVuY2VQcm9wZXJ0eSJ9XX19")), "queueReference") end |
Instance Attribute Details
#delay ⇒ Numeric (readonly)
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 .
765 766 767 |
# File 'connect/cfn_routing_profile.rb', line 765 def delay @delay end |
#priority ⇒ Numeric (readonly)
The order in which contacts are to be handled for the queue.
For more information, see Queues: priority and delay .
772 773 774 |
# File 'connect/cfn_routing_profile.rb', line 772 def priority @priority end |
#queue_reference ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty (readonly)
Contains information about a queue resource.
777 778 779 |
# File 'connect/cfn_routing_profile.rb', line 777 def queue_reference @queue_reference end |
Class Method Details
.jsii_properties ⇒ Object
779 780 781 782 783 784 785 |
# File 'connect/cfn_routing_profile.rb', line 779 def self.jsii_properties { :delay => "delay", :priority => "priority", :queue_reference => "queueReference", } end |
Instance Method Details
#to_jsii ⇒ Object
787 788 789 790 791 792 793 794 795 |
# File 'connect/cfn_routing_profile.rb', line 787 def to_jsii result = {} result.merge!({ "delay" => @delay, "priority" => @priority, "queueReference" => @queue_reference, }) result.compact end |