Class: AWSCDK::Lex::CfnBot::UnifiedSpeechSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::UnifiedSpeechSettingsProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Unified configuration settings that combine speech recognition and synthesis capabilities.
Instance Attribute Summary collapse
-
#speech_foundation_model ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::SpeechFoundationModelProperty
readonly
The foundation model configuration to use for unified speech processing capabilities.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(speech_foundation_model:) ⇒ UnifiedSpeechSettingsProperty
constructor
A new instance of UnifiedSpeechSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(speech_foundation_model:) ⇒ UnifiedSpeechSettingsProperty
Returns a new instance of UnifiedSpeechSettingsProperty.
6637 6638 6639 6640 |
# File 'lex/cfn_bot.rb', line 6637 def initialize(speech_foundation_model:) @speech_foundation_model = speech_foundation_model.is_a?(Hash) ? ::AWSCDK::Lex::CfnBot::SpeechFoundationModelProperty.new(**speech_foundation_model.transform_keys(&:to_sym)) : speech_foundation_model Jsii::Type.check_type(@speech_foundation_model, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19sZXguQ2ZuQm90LlNwZWVjaEZvdW5kYXRpb25Nb2RlbFByb3BlcnR5In1dfX0=")), "speechFoundationModel") end |
Instance Attribute Details
#speech_foundation_model ⇒ AWSCDK::IResolvable, AWSCDK::Lex::CfnBot::SpeechFoundationModelProperty (readonly)
The foundation model configuration to use for unified speech processing capabilities.
6646 6647 6648 |
# File 'lex/cfn_bot.rb', line 6646 def speech_foundation_model @speech_foundation_model end |
Class Method Details
.jsii_properties ⇒ Object
6648 6649 6650 6651 6652 |
# File 'lex/cfn_bot.rb', line 6648 def self.jsii_properties { :speech_foundation_model => "speechFoundationModel", } end |
Instance Method Details
#to_jsii ⇒ Object
6654 6655 6656 6657 6658 6659 6660 |
# File 'lex/cfn_bot.rb', line 6654 def to_jsii result = {} result.merge!({ "speechFoundationModel" => @speech_foundation_model, }) result.compact end |