Class: AWSCDK::Lex::CfnBot::PlainTextMessageProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lex/cfn_bot.rb

Overview

Defines an ASCII text message to send to the user.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:) ⇒ PlainTextMessageProperty

Returns a new instance of PlainTextMessageProperty.

Parameters:

  • value (String)

    The message to send to the user.



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

#valueString (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_propertiesObject



4244
4245
4246
4247
4248
# File 'lex/cfn_bot.rb', line 4244

def self.jsii_properties
  {
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



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