Class: AWSCDK::Connect::CfnRoutingProfile::CrossChannelBehaviorProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnRoutingProfile::CrossChannelBehaviorProperty
- 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
-
#behavior_type ⇒ String
readonly
Specifies the other channels that can be routed to an agent handling their current channel.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(behavior_type:) ⇒ CrossChannelBehaviorProperty
constructor
A new instance of CrossChannelBehaviorProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(behavior_type:) ⇒ CrossChannelBehaviorProperty
Returns a new instance of CrossChannelBehaviorProperty.
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_type ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |