Class: AWSCDK::Lex::CfnBot::SpeechModelConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::SpeechModelConfigProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(deepgram_config: nil) ⇒ SpeechModelConfigProperty
constructor
A new instance of SpeechModelConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(deepgram_config: nil) ⇒ SpeechModelConfigProperty
Returns a new instance of SpeechModelConfigProperty.
6169 6170 6171 6172 |
# File 'lex/cfn_bot.rb', line 6169 def initialize(deepgram_config: nil) @deepgram_config = deepgram_config.is_a?(Hash) ? ::AWSCDK::Lex::CfnBot::DeepgramSpeechModelConfigProperty.new(**deepgram_config.transform_keys(&:to_sym)) : deepgram_config Jsii::Type.check_type(@deepgram_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90LkRlZXBncmFtU3BlZWNoTW9kZWxDb25maWdQcm9wZXJ0eSJ9XX19")), "deepgramConfig") unless @deepgram_config.nil? end |
Instance Attribute Details
#deepgram_config ⇒ AWSCDK::IResolvable, ... (readonly)
6176 6177 6178 |
# File 'lex/cfn_bot.rb', line 6176 def deepgram_config @deepgram_config end |
Class Method Details
.jsii_properties ⇒ Object
6178 6179 6180 6181 6182 |
# File 'lex/cfn_bot.rb', line 6178 def self.jsii_properties { :deepgram_config => "deepgramConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
6184 6185 6186 6187 6188 6189 6190 |
# File 'lex/cfn_bot.rb', line 6184 def to_jsii result = {} result.merge!({ "deepgramConfig" => @deepgram_config, }) result.compact end |