Class: AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty
- Defined in:
- connect/cfn_routing_profile.rb
Overview
Contains the channel and queue identifier for a routing profile.
Instance Attribute Summary collapse
-
#channel ⇒ String
readonly
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
-
#queue_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the queue.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel:, queue_arn:) ⇒ RoutingProfileQueueReferenceProperty
constructor
A new instance of RoutingProfileQueueReferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel:, queue_arn:) ⇒ RoutingProfileQueueReferenceProperty
Returns a new instance of RoutingProfileQueueReferenceProperty.
806 807 808 809 810 811 |
# File 'connect/cfn_routing_profile.rb', line 806 def initialize(channel:, queue_arn:) @channel = channel Jsii::Type.check_type(@channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channel") @queue_arn = queue_arn Jsii::Type.check_type(@queue_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queueArn") end |
Instance Attribute Details
#channel ⇒ String (readonly)
The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
817 818 819 |
# File 'connect/cfn_routing_profile.rb', line 817 def channel @channel end |
#queue_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the queue.
822 823 824 |
# File 'connect/cfn_routing_profile.rb', line 822 def queue_arn @queue_arn end |
Class Method Details
.jsii_properties ⇒ Object
824 825 826 827 828 829 |
# File 'connect/cfn_routing_profile.rb', line 824 def self.jsii_properties { :channel => "channel", :queue_arn => "queueArn", } end |
Instance Method Details
#to_jsii ⇒ Object
831 832 833 834 835 836 837 838 |
# File 'connect/cfn_routing_profile.rb', line 831 def to_jsii result = {} result.merge!({ "channel" => @channel, "queueArn" => @queue_arn, }) result.compact end |