Class: AWSCDK::Connect::CfnUser::AfterContactWorkConfigPerChannelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUser::AfterContactWorkConfigPerChannelProperty
- Defined in:
- connect/cfn_user.rb
Overview
After Contact Work configuration per channel.
Instance Attribute Summary collapse
-
#after_contact_work_config ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnUser::AfterContactWorkConfigProperty
readonly
After Contact Work configuration.
-
#agent_first_callback_after_contact_work_config ⇒ AWSCDK::IResolvable, ...
readonly
After Contact Work configuration.
-
#channel ⇒ String
readonly
The channels that agents can handle in the Contact Control Panel (CCP).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(after_contact_work_config:, channel:, agent_first_callback_after_contact_work_config: nil) ⇒ AfterContactWorkConfigPerChannelProperty
constructor
A new instance of AfterContactWorkConfigPerChannelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(after_contact_work_config:, channel:, agent_first_callback_after_contact_work_config: nil) ⇒ AfterContactWorkConfigPerChannelProperty
Returns a new instance of AfterContactWorkConfigPerChannelProperty.
718 719 720 721 722 723 724 725 |
# File 'connect/cfn_user.rb', line 718 def initialize(after_contact_work_config:, channel:, agent_first_callback_after_contact_work_config: nil) @after_contact_work_config = after_contact_work_config.is_a?(Hash) ? ::AWSCDK::Connect::CfnUser::AfterContactWorkConfigProperty.new(**after_contact_work_config.transform_keys(&:to_sym)) : after_contact_work_config Jsii::Type.check_type(@after_contact_work_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmblVzZXIuQWZ0ZXJDb250YWN0V29ya0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "afterContactWorkConfig") @channel = channel Jsii::Type.check_type(@channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channel") @agent_first_callback_after_contact_work_config = agent_first_callback_after_contact_work_config.is_a?(Hash) ? ::AWSCDK::Connect::CfnUser::AfterContactWorkConfigProperty.new(**agent_first_callback_after_contact_work_config.transform_keys(&:to_sym)) : agent_first_callback_after_contact_work_config Jsii::Type.check_type(@agent_first_callback_after_contact_work_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmblVzZXIuQWZ0ZXJDb250YWN0V29ya0NvbmZpZ1Byb3BlcnR5In1dfX0=")), "agentFirstCallbackAfterContactWorkConfig") unless @agent_first_callback_after_contact_work_config.nil? end |
Instance Attribute Details
#after_contact_work_config ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnUser::AfterContactWorkConfigProperty (readonly)
After Contact Work configuration.
731 732 733 |
# File 'connect/cfn_user.rb', line 731 def after_contact_work_config @after_contact_work_config end |
#agent_first_callback_after_contact_work_config ⇒ AWSCDK::IResolvable, ... (readonly)
After Contact Work configuration.
741 742 743 |
# File 'connect/cfn_user.rb', line 741 def agent_first_callback_after_contact_work_config @agent_first_callback_after_contact_work_config end |
#channel ⇒ String (readonly)
The channels that agents can handle in the Contact Control Panel (CCP).
736 737 738 |
# File 'connect/cfn_user.rb', line 736 def channel @channel end |
Class Method Details
.jsii_properties ⇒ Object
743 744 745 746 747 748 749 |
# File 'connect/cfn_user.rb', line 743 def self.jsii_properties { :after_contact_work_config => "afterContactWorkConfig", :channel => "channel", :agent_first_callback_after_contact_work_config => "agentFirstCallbackAfterContactWorkConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
751 752 753 754 755 756 757 758 759 |
# File 'connect/cfn_user.rb', line 751 def to_jsii result = {} result.merge!({ "afterContactWorkConfig" => @after_contact_work_config, "channel" => @channel, "agentFirstCallbackAfterContactWorkConfig" => @agent_first_callback_after_contact_work_config, }) result.compact end |