Class: AWSCDK::Connect::CfnQuickConnect::QueueQuickConnectConfigProperty

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

Overview

Contains information about a queue for a quick connect.

The flow must be of type Transfer to Queue.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(contact_flow_arn:, queue_arn:) ⇒ QueueQuickConnectConfigProperty

Returns a new instance of QueueQuickConnectConfigProperty.

Parameters:

  • contact_flow_arn (String)

    The Amazon Resource Name (ARN) of the flow.

  • queue_arn (String)

    The Amazon Resource Name (ARN) of the queue.



616
617
618
619
620
621
# File 'connect/cfn_quick_connect.rb', line 616

def initialize(contact_flow_arn:, queue_arn:)
  @contact_flow_arn = contact_flow_arn
  Jsii::Type.check_type(@contact_flow_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contactFlowArn")
  @queue_arn = queue_arn
  Jsii::Type.check_type(@queue_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queueArn")
end

Instance Attribute Details

#contact_flow_arnString (readonly)

The Amazon Resource Name (ARN) of the flow.



627
628
629
# File 'connect/cfn_quick_connect.rb', line 627

def contact_flow_arn
  @contact_flow_arn
end

#queue_arnString (readonly)

The Amazon Resource Name (ARN) of the queue.



632
633
634
# File 'connect/cfn_quick_connect.rb', line 632

def queue_arn
  @queue_arn
end

Class Method Details

.jsii_propertiesObject



634
635
636
637
638
639
# File 'connect/cfn_quick_connect.rb', line 634

def self.jsii_properties
  {
    :contact_flow_arn => "contactFlowArn",
    :queue_arn => "queueArn",
  }
end

Instance Method Details

#to_jsiiObject



641
642
643
644
645
646
647
648
# File 'connect/cfn_quick_connect.rb', line 641

def to_jsii
  result = {}
  result.merge!({
    "contactFlowArn" => @contact_flow_arn,
    "queueArn" => @queue_arn,
  })
  result.compact
end