Class: AWSCDK::Lex::CfnBot::SSMLMessageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::SSMLMessageProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Defines a Speech Synthesis Markup Language (SSML) prompt.
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
The SSML text that defines the prompt.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value:) ⇒ SSMLMessageProperty
constructor
A new instance of SSMLMessageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(value:) ⇒ SSMLMessageProperty
Returns a new instance of SSMLMessageProperty.
5017 5018 5019 5020 |
# File 'lex/cfn_bot.rb', line 5017 def initialize(value:) @value = value Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") end |
Instance Attribute Details
#value ⇒ String (readonly)
The SSML text that defines the prompt.
5026 5027 5028 |
# File 'lex/cfn_bot.rb', line 5026 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
5028 5029 5030 5031 5032 |
# File 'lex/cfn_bot.rb', line 5028 def self.jsii_properties { :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
5034 5035 5036 5037 5038 5039 5040 |
# File 'lex/cfn_bot.rb', line 5034 def to_jsii result = {} result.merge!({ "value" => @value, }) result.compact end |