Class: AWSCDK::QuickSight::CfnDashboard::SectionLayoutConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The layout configuration of a section.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(free_form_layout:) ⇒ SectionLayoutConfigurationProperty

Returns a new instance of SectionLayoutConfigurationProperty.

Parameters:



26663
26664
26665
26666
# File 'quick_sight/cfn_dashboard.rb', line 26663

def initialize(free_form_layout:)
  @free_form_layout = free_form_layout.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FreeFormSectionLayoutConfigurationProperty.new(**free_form_layout.transform_keys(&:to_sym)) : free_form_layout
  Jsii::Type.check_type(@free_form_layout, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GcmVlRm9ybVNlY3Rpb25MYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "freeFormLayout")
end

Class Method Details

.jsii_propertiesObject



26674
26675
26676
26677
26678
# File 'quick_sight/cfn_dashboard.rb', line 26674

def self.jsii_properties
  {
    :free_form_layout => "freeFormLayout",
  }
end

Instance Method Details

#to_jsiiObject



26680
26681
26682
26683
26684
26685
26686
# File 'quick_sight/cfn_dashboard.rb', line 26680

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