Class: AWSCDK::Cases::CfnLayout::LayoutSectionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cases::CfnLayout::LayoutSectionsProperty
- Defined in:
- cases/cfn_layout.rb
Overview
Ordered list containing different kinds of sections that can be added.
A LayoutSections object can only contain one section.
Instance Attribute Summary collapse
-
#sections ⇒ AWSCDK::IResolvable, ...
readonly
Ordered list containing different kinds of sections that can be added.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sections: nil) ⇒ LayoutSectionsProperty
constructor
A new instance of LayoutSectionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sections: nil) ⇒ LayoutSectionsProperty
Returns a new instance of LayoutSectionsProperty.
746 747 748 749 |
# File 'cases/cfn_layout.rb', line 746 def initialize(sections: nil) @sections = sections Jsii::Type.check_type(@sections, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2FzZXMuQ2ZuTGF5b3V0LlNlY3Rpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "sections") unless @sections.nil? end |
Instance Attribute Details
#sections ⇒ AWSCDK::IResolvable, ... (readonly)
Ordered list containing different kinds of sections that can be added.
A LayoutSections object can only contain one section.
757 758 759 |
# File 'cases/cfn_layout.rb', line 757 def sections @sections end |
Class Method Details
.jsii_properties ⇒ Object
759 760 761 762 763 |
# File 'cases/cfn_layout.rb', line 759 def self.jsii_properties { :sections => "sections", } end |
Instance Method Details
#to_jsii ⇒ Object
765 766 767 768 769 770 771 |
# File 'cases/cfn_layout.rb', line 765 def to_jsii result = {} result.merge!({ "sections" => @sections, }) result.compact end |