Class: AWSCDK::Connect::CfnRoutingProfile::CrossChannelBehaviorProperty

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

Overview

Defines 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.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(behavior_type:) ⇒ CrossChannelBehaviorProperty

Returns a new instance of CrossChannelBehaviorProperty.

Parameters:

  • behavior_type (String)

    Specifies the other channels that can be routed to an agent handling their current channel.



621
622
623
624
# File 'connect/cfn_routing_profile.rb', line 621

def initialize(behavior_type:)
  @behavior_type = behavior_type
  Jsii::Type.check_type(@behavior_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "behaviorType")
end

Instance Attribute Details

#behavior_typeString (readonly)

Specifies the other channels that can be routed to an agent handling their current channel.



630
631
632
# File 'connect/cfn_routing_profile.rb', line 630

def behavior_type
  @behavior_type
end

Class Method Details

.jsii_propertiesObject



632
633
634
635
636
# File 'connect/cfn_routing_profile.rb', line 632

def self.jsii_properties
  {
    :behavior_type => "behaviorType",
  }
end

Instance Method Details

#to_jsiiObject



638
639
640
641
642
643
644
# File 'connect/cfn_routing_profile.rb', line 638

def to_jsii
  result = {}
  result.merge!({
    "behaviorType" => @behavior_type,
  })
  result.compact
end