Class: AWSCDK::Lex::CfnBot::SubSlotSettingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::SubSlotSettingProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Specifications for the constituent sub slots and the expression for the composite slot.
Instance Attribute Summary collapse
-
#expression ⇒ String?
readonly
The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
-
#slot_specifications ⇒ AWSCDK::IResolvable, ...
readonly
Specifications for the constituent sub slots of a composite slot.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(expression: nil, slot_specifications: nil) ⇒ SubSlotSettingProperty
constructor
A new instance of SubSlotSettingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(expression: nil, slot_specifications: nil) ⇒ SubSlotSettingProperty
Returns a new instance of SubSlotSettingProperty.
6303 6304 6305 6306 6307 6308 |
# File 'lex/cfn_bot.rb', line 6303 def initialize(expression: nil, slot_specifications: nil) @expression = expression Jsii::Type.check_type(@expression, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "expression") unless @expression.nil? @slot_specifications = slot_specifications Jsii::Type.check_type(@slot_specifications, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGV4LkNmbkJvdC5TcGVjaWZpY2F0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJtYXAifX1dfX0=")), "slotSpecifications") unless @slot_specifications.nil? end |
Instance Attribute Details
#expression ⇒ String? (readonly)
The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.
6314 6315 6316 |
# File 'lex/cfn_bot.rb', line 6314 def expression @expression end |
#slot_specifications ⇒ AWSCDK::IResolvable, ... (readonly)
Specifications for the constituent sub slots of a composite slot.
6319 6320 6321 |
# File 'lex/cfn_bot.rb', line 6319 def slot_specifications @slot_specifications end |
Class Method Details
.jsii_properties ⇒ Object
6321 6322 6323 6324 6325 6326 |
# File 'lex/cfn_bot.rb', line 6321 def self.jsii_properties { :expression => "expression", :slot_specifications => "slotSpecifications", } end |
Instance Method Details
#to_jsii ⇒ Object
6328 6329 6330 6331 6332 6333 6334 6335 |
# File 'lex/cfn_bot.rb', line 6328 def to_jsii result = {} result.merge!({ "expression" => @expression, "slotSpecifications" => @slot_specifications, }) result.compact end |