Class: AWSCDK::Lex::CfnBot::SlotValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::SlotValueProperty
- Defined in:
- lex/cfn_bot.rb
Overview
The value to set in a slot.
Instance Attribute Summary collapse
-
#interpreted_value ⇒ String?
readonly
The value that Amazon Lex determines for the slot.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interpreted_value: nil) ⇒ SlotValueProperty
constructor
A new instance of SlotValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(interpreted_value: nil) ⇒ SlotValueProperty
Returns a new instance of SlotValueProperty.
5936 5937 5938 5939 |
# File 'lex/cfn_bot.rb', line 5936 def initialize(interpreted_value: nil) @interpreted_value = interpreted_value Jsii::Type.check_type(@interpreted_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "interpretedValue") unless @interpreted_value.nil? end |
Instance Attribute Details
#interpreted_value ⇒ String? (readonly)
The value that Amazon Lex determines for the slot.
The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolved_values list.
5947 5948 5949 |
# File 'lex/cfn_bot.rb', line 5947 def interpreted_value @interpreted_value end |
Class Method Details
.jsii_properties ⇒ Object
5949 5950 5951 5952 5953 |
# File 'lex/cfn_bot.rb', line 5949 def self.jsii_properties { :interpreted_value => "interpretedValue", } end |
Instance Method Details
#to_jsii ⇒ Object
5955 5956 5957 5958 5959 5960 5961 |
# File 'lex/cfn_bot.rb', line 5955 def to_jsii result = {} result.merge!({ "interpretedValue" => @interpreted_value, }) result.compact end |