Class: AWSCDK::QuickSight::CfnAnalysis::DefaultInteractiveLayoutConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DefaultInteractiveLayoutConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
8052 8053 8054 8055 8056 8057 |
# File 'quick_sight/cfn_analysis.rb', line 8052 def initialize(free_form: nil, grid: nil) @free_form = free_form.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DefaultFreeFormLayoutConfigurationProperty.new(**free_form.transform_keys(&:to_sym)) : free_form Jsii::Type.check_type(@free_form, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRlZmF1bHRGcmVlRm9ybUxheW91dENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "freeForm") unless @free_form.nil? @grid = grid.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DefaultGridLayoutConfigurationProperty.new(**grid.transform_keys(&:to_sym)) : grid Jsii::Type.check_type(@grid, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRlZmF1bHRHcmlkTGF5b3V0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.
8063 8064 8065 |
# File 'quick_sight/cfn_analysis.rb', line 8063 def free_form @free_form end |
#grid ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings for a grid layout configuration.
8068 8069 8070 |
# File 'quick_sight/cfn_analysis.rb', line 8068 def grid @grid end |
Class Method Details
.jsii_properties ⇒ Object
8070 8071 8072 8073 8074 8075 |
# File 'quick_sight/cfn_analysis.rb', line 8070 def self.jsii_properties { :free_form => "freeForm", :grid => "grid", } end |
Instance Method Details
#to_jsii ⇒ Object
8077 8078 8079 8080 8081 8082 8083 8084 |
# File 'quick_sight/cfn_analysis.rb', line 8077 def to_jsii result = {} result.merge!({ "freeForm" => @free_form, "grid" => @grid, }) result.compact end |