Class: AWSCDK::Cases::CfnLayout::BasicLayoutProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(more_info: nil, top_panel: nil) ⇒ BasicLayoutProperty

Returns a new instance of BasicLayoutProperty.

Parameters:



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_infoAWSCDK::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_panelAWSCDK::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_propertiesObject



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_jsiiObject



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