Class: AWSCDK::QuickSight::CfnDashboard::DefaultInteractiveLayoutConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DefaultInteractiveLayoutConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The options that determine the default settings for interactive layout configuration.
Instance Attribute Summary collapse
-
#free_form ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the default settings of a free-form layout configuration.
-
#grid ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the default settings for a grid layout configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(free_form: nil, grid: nil) ⇒ DefaultInteractiveLayoutConfigurationProperty
constructor
A new instance of DefaultInteractiveLayoutConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(free_form: nil, grid: nil) ⇒ DefaultInteractiveLayoutConfigurationProperty
Returns a new instance of DefaultInteractiveLayoutConfigurationProperty.
8673 8674 8675 8676 8677 8678 |
# File 'quick_sight/cfn_dashboard.rb', line 8673 def initialize(free_form: nil, grid: nil) @free_form = free_form.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DefaultFreeFormLayoutConfigurationProperty.new(**free_form.transform_keys(&:to_sym)) : free_form Jsii::Type.check_type(@free_form, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWZhdWx0RnJlZUZvcm1MYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "freeForm") unless @free_form.nil? @grid = grid.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DefaultGridLayoutConfigurationProperty.new(**grid.transform_keys(&:to_sym)) : grid Jsii::Type.check_type(@grid, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWZhdWx0R3JpZExheW91dENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "grid") unless @grid.nil? end |
Instance Attribute Details
#free_form ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings of a free-form layout configuration.
8684 8685 8686 |
# File 'quick_sight/cfn_dashboard.rb', line 8684 def free_form @free_form end |
#grid ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings for a grid layout configuration.
8689 8690 8691 |
# File 'quick_sight/cfn_dashboard.rb', line 8689 def grid @grid end |
Class Method Details
.jsii_properties ⇒ Object
8691 8692 8693 8694 8695 8696 |
# File 'quick_sight/cfn_dashboard.rb', line 8691 def self.jsii_properties { :free_form => "freeForm", :grid => "grid", } end |
Instance Method Details
#to_jsii ⇒ Object
8698 8699 8700 8701 8702 8703 8704 8705 |
# File 'quick_sight/cfn_dashboard.rb', line 8698 def to_jsii result = {} result.merge!({ "freeForm" => @free_form, "grid" => @grid, }) result.compact end |