Class: AWSCDK::Connect::CfnUser::VoiceEnhancementConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnUser::VoiceEnhancementConfigProperty
- Defined in:
- connect/cfn_user.rb
Overview
Voice Enhancement configuration per channel.
Instance Attribute Summary collapse
-
#channel ⇒ String
readonly
The channels that agents can handle in the Contact Control Panel (CCP).
-
#voice_enhancement_mode ⇒ String
readonly
The Voice Enhancement Mode setting.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(channel:, voice_enhancement_mode:) ⇒ VoiceEnhancementConfigProperty
constructor
A new instance of VoiceEnhancementConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(channel:, voice_enhancement_mode:) ⇒ VoiceEnhancementConfigProperty
Returns a new instance of VoiceEnhancementConfigProperty.
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
#channel ⇒ String (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_mode ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |