Class: AWSCDK::Connect::CfnRoutingProfile::RoutingProfileQueueReferenceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_routing_profile.rb

Overview

Contains the channel and queue identifier for a routing profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel:, queue_arn:) ⇒ RoutingProfileQueueReferenceProperty

Returns a new instance of RoutingProfileQueueReferenceProperty.

Parameters:

  • channel (String)

    The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

  • queue_arn (String)

    The Amazon Resource Name (ARN) of the queue.



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

#channelString (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_arnString (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_propertiesObject



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_jsiiObject



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