Class: AWSCDK::Cases::CfnLayout::BasicLayoutProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Cases::CfnLayout::BasicLayoutProperty
- Defined in:
- cases/cfn_layout.rb
Overview
Content specific to BasicLayout type.
It configures fields in the top panel and More Info tab of agent application.
Instance Attribute Summary collapse
-
#more_info ⇒ AWSCDK::IResolvable, ...
readonly
This represents sections in a tab of the page layout.
-
#top_panel ⇒ AWSCDK::IResolvable, ...
readonly
This represents sections in a panel of the page layout.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(more_info: nil, top_panel: nil) ⇒ BasicLayoutProperty
constructor
A new instance of BasicLayoutProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(more_info: nil, top_panel: nil) ⇒ BasicLayoutProperty
Returns a new instance of BasicLayoutProperty.
591 592 593 594 595 596 |
# File 'cases/cfn_layout.rb', line 591 def initialize(more_info: nil, top_panel: nil) @more_info = more_info.is_a?(Hash) ? ::AWSCDK::Cases::CfnLayout::LayoutSectionsProperty.new(**more_info.transform_keys(&:to_sym)) : more_info Jsii::Type.check_type(@more_info, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jYXNlcy5DZm5MYXlvdXQuTGF5b3V0U2VjdGlvbnNQcm9wZXJ0eSJ9XX19")), "moreInfo") unless @more_info.nil? @top_panel = top_panel.is_a?(Hash) ? ::AWSCDK::Cases::CfnLayout::LayoutSectionsProperty.new(**top_panel.transform_keys(&:to_sym)) : top_panel Jsii::Type.check_type(@top_panel, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jYXNlcy5DZm5MYXlvdXQuTGF5b3V0U2VjdGlvbnNQcm9wZXJ0eSJ9XX19")), "topPanel") unless @top_panel.nil? end |
Instance Attribute Details
#more_info ⇒ AWSCDK::IResolvable, ... (readonly)
This represents sections in a tab of the page layout.
602 603 604 |
# File 'cases/cfn_layout.rb', line 602 def more_info @more_info end |
#top_panel ⇒ AWSCDK::IResolvable, ... (readonly)
This represents sections in a panel of the page layout.
607 608 609 |
# File 'cases/cfn_layout.rb', line 607 def top_panel @top_panel end |
Class Method Details
.jsii_properties ⇒ Object
609 610 611 612 613 614 |
# File 'cases/cfn_layout.rb', line 609 def self.jsii_properties { :more_info => "moreInfo", :top_panel => "topPanel", } end |
Instance Method Details
#to_jsii ⇒ Object
616 617 618 619 620 621 622 623 |
# File 'cases/cfn_layout.rb', line 616 def to_jsii result = {} result.merge!({ "moreInfo" => @more_info, "topPanel" => @top_panel, }) result.compact end |