Class: AWSCDK::QuickSight::CfnTemplate::DefaultInteractiveLayoutConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DefaultInteractiveLayoutConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
7860 7861 7862 7863 7864 7865 |
# File 'quick_sight/cfn_template.rb', line 7860 def initialize(free_form: nil, grid: nil) @free_form = free_form.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DefaultFreeFormLayoutConfigurationProperty.new(**free_form.transform_keys(&:to_sym)) : free_form Jsii::Type.check_type(@free_form, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRlZmF1bHRGcmVlRm9ybUxheW91dENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "freeForm") unless @free_form.nil? @grid = grid.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DefaultGridLayoutConfigurationProperty.new(**grid.transform_keys(&:to_sym)) : grid Jsii::Type.check_type(@grid, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRlZmF1bHRHcmlkTGF5b3V0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.
7871 7872 7873 |
# File 'quick_sight/cfn_template.rb', line 7871 def free_form @free_form end |
#grid ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings for a grid layout configuration.
7876 7877 7878 |
# File 'quick_sight/cfn_template.rb', line 7876 def grid @grid end |
Class Method Details
.jsii_properties ⇒ Object
7878 7879 7880 7881 7882 7883 |
# File 'quick_sight/cfn_template.rb', line 7878 def self.jsii_properties { :free_form => "freeForm", :grid => "grid", } end |
Instance Method Details
#to_jsii ⇒ Object
7885 7886 7887 7888 7889 7890 7891 7892 |
# File 'quick_sight/cfn_template.rb', line 7885 def to_jsii result = {} result.merge!({ "freeForm" => @free_form, "grid" => @grid, }) result.compact end |