Class: AWSCDK::Connect::CfnUser::PersistentConnectionConfigProperty

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

Overview

Persistent Connection configuration per channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel:, persistent_connection:) ⇒ PersistentConnectionConfigProperty

Returns a new instance of PersistentConnectionConfigProperty.

Parameters:

  • channel (String)

    The channels that agents can handle in the Contact Control Panel (CCP).

  • persistent_connection (Boolean, AWSCDK::IResolvable)

    The Persistent Connection setting.



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

#channelString (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_connectionBoolean, 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_propertiesObject



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_jsiiObject



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