Class: AWSCDK::Connect::CfnUser::PersistentConnectionConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUser::PersistentConnectionConfigProperty
- Defined in:
- connect/cfn_user.rb
Overview
Persistent Connection configuration per channel.
Instance Attribute Summary collapse
-
#channel ⇒ String
readonly
The channels that agents can handle in the Contact Control Panel (CCP).
-
#persistent_connection ⇒ Boolean, AWSCDK::IResolvable
readonly
The Persistent Connection setting.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel:, persistent_connection:) ⇒ PersistentConnectionConfigProperty
constructor
A new instance of PersistentConnectionConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel:, persistent_connection:) ⇒ PersistentConnectionConfigProperty
Returns a new instance of PersistentConnectionConfigProperty.
856 857 858 859 860 861 |
# File 'connect/cfn_user.rb', line 856 def initialize(channel:, persistent_connection:) @channel = channel Jsii::Type.check_type(@channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channel") @persistent_connection = persistent_connection Jsii::Type.check_type(@persistent_connection, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "persistentConnection") end |
Instance Attribute Details
#channel ⇒ String (readonly)
The channels that agents can handle in the Contact Control Panel (CCP).
867 868 869 |
# File 'connect/cfn_user.rb', line 867 def channel @channel end |
#persistent_connection ⇒ Boolean, AWSCDK::IResolvable (readonly)
The Persistent Connection setting.
872 873 874 |
# File 'connect/cfn_user.rb', line 872 def persistent_connection @persistent_connection end |
Class Method Details
.jsii_properties ⇒ Object
874 875 876 877 878 879 |
# File 'connect/cfn_user.rb', line 874 def self.jsii_properties { :channel => "channel", :persistent_connection => "persistentConnection", } end |
Instance Method Details
#to_jsii ⇒ Object
881 882 883 884 885 886 887 888 |
# File 'connect/cfn_user.rb', line 881 def to_jsii result = {} result.merge!({ "channel" => @channel, "persistentConnection" => @persistent_connection, }) result.compact end |