Class: AWSCDK::Lex::CfnBot::CompositeSlotTypeSettingProperty

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

Overview

A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sub_slots: nil) ⇒ CompositeSlotTypeSettingProperty

Returns a new instance of CompositeSlotTypeSettingProperty.

Parameters:



1683
1684
1685
1686
# File 'lex/cfn_bot.rb', line 1683

def initialize(sub_slots: nil)
  @sub_slots = sub_slots
  Jsii::Type.check_type(@sub_slots, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGV4LkNmbkJvdC5TdWJTbG90VHlwZUNvbXBvc2l0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "subSlots") unless @sub_slots.nil?
end

Instance Attribute Details

#sub_slotsAWSCDK::IResolvable, ... (readonly)

Subslots in the composite slot.



1692
1693
1694
# File 'lex/cfn_bot.rb', line 1692

def sub_slots
  @sub_slots
end

Class Method Details

.jsii_propertiesObject



1694
1695
1696
1697
1698
# File 'lex/cfn_bot.rb', line 1694

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

Instance Method Details

#to_jsiiObject



1700
1701
1702
1703
1704
1705
1706
# File 'lex/cfn_bot.rb', line 1700

def to_jsii
  result = {}
  result.merge!({
    "subSlots" => @sub_slots,
  })
  result.compact
end