Class: AWSCDK::Lex::CfnBot::SSMLMessageProperty

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

Overview

Defines a Speech Synthesis Markup Language (SSML) prompt.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value:) ⇒ SSMLMessageProperty

Returns a new instance of SSMLMessageProperty.

Parameters:

  • value (String)

    The SSML text that defines the prompt.



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

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



5028
5029
5030
5031
5032
# File 'lex/cfn_bot.rb', line 5028

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

Instance Method Details

#to_jsiiObject



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