Class: AWSCDK::Lex::CfnBot::PlainTextMessageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::PlainTextMessageProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Defines an ASCII text message to send to the user.
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
The message to send to the user.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(value:) ⇒ PlainTextMessageProperty
constructor
A new instance of PlainTextMessageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(value:) ⇒ PlainTextMessageProperty
Returns a new instance of PlainTextMessageProperty.
4233 4234 4235 4236 |
# File 'lex/cfn_bot.rb', line 4233 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 message to send to the user.
4242 4243 4244 |
# File 'lex/cfn_bot.rb', line 4242 def value @value end |
Class Method Details
.jsii_properties ⇒ Object
4244 4245 4246 4247 4248 |
# File 'lex/cfn_bot.rb', line 4244 def self.jsii_properties { :value => "value", } end |
Instance Method Details
#to_jsii ⇒ Object
4250 4251 4252 4253 4254 4255 4256 |
# File 'lex/cfn_bot.rb', line 4250 def to_jsii result = {} result.merge!({ "value" => @value, }) result.compact end |