Class: AWSCDK::Connect::CfnUser::VoiceEnhancementConfigProperty

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

Overview

Voice Enhancement configuration per channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel:, voice_enhancement_mode:) ⇒ VoiceEnhancementConfigProperty

Returns a new instance of VoiceEnhancementConfigProperty.

Parameters:

  • channel (String)

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

  • voice_enhancement_mode (String)

    The Voice Enhancement Mode setting.



1177
1178
1179
1180
1181
1182
# File 'connect/cfn_user.rb', line 1177

def initialize(channel:, voice_enhancement_mode:)
  @channel = channel
  Jsii::Type.check_type(@channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channel")
  @voice_enhancement_mode = voice_enhancement_mode
  Jsii::Type.check_type(@voice_enhancement_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "voiceEnhancementMode")
end

Instance Attribute Details

#channelString (readonly)

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



1188
1189
1190
# File 'connect/cfn_user.rb', line 1188

def channel
  @channel
end

#voice_enhancement_modeString (readonly)

The Voice Enhancement Mode setting.



1193
1194
1195
# File 'connect/cfn_user.rb', line 1193

def voice_enhancement_mode
  @voice_enhancement_mode
end

Class Method Details

.jsii_propertiesObject



1195
1196
1197
1198
1199
1200
# File 'connect/cfn_user.rb', line 1195

def self.jsii_properties
  {
    :channel => "channel",
    :voice_enhancement_mode => "voiceEnhancementMode",
  }
end

Instance Method Details

#to_jsiiObject



1202
1203
1204
1205
1206
1207
1208
1209
# File 'connect/cfn_user.rb', line 1202

def to_jsii
  result = {}
  result.merge!({
    "channel" => @channel,
    "voiceEnhancementMode" => @voice_enhancement_mode,
  })
  result.compact
end