Class: AWSCDK::QuickSight::CfnTemplate::GridLayoutCanvasSizeOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::GridLayoutCanvasSizeOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
Configuration options for the canvas of a grid layout.
Instance Attribute Summary collapse
-
#screen_canvas_size_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the sizing of the canvas used in a grid layout.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(screen_canvas_size_options: nil) ⇒ GridLayoutCanvasSizeOptionsProperty
constructor
A new instance of GridLayoutCanvasSizeOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(screen_canvas_size_options: nil) ⇒ GridLayoutCanvasSizeOptionsProperty
Returns a new instance of GridLayoutCanvasSizeOptionsProperty.
13165 13166 13167 13168 |
# File 'quick_sight/cfn_template.rb', line 13165 def initialize(screen_canvas_size_options: nil) @screen_canvas_size_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::GridLayoutScreenCanvasSizeOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@screen_canvas_size_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkdyaWRMYXlvdXRTY3JlZW5DYW52YXNTaXplT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "screenCanvasSizeOptions") unless @screen_canvas_size_options.nil? end |
Instance Attribute Details
#screen_canvas_size_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the sizing of the canvas used in a grid layout.
13174 13175 13176 |
# File 'quick_sight/cfn_template.rb', line 13174 def @screen_canvas_size_options end |
Class Method Details
.jsii_properties ⇒ Object
13176 13177 13178 13179 13180 |
# File 'quick_sight/cfn_template.rb', line 13176 def self.jsii_properties { :screen_canvas_size_options => "screenCanvasSizeOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
13182 13183 13184 13185 13186 13187 13188 |
# File 'quick_sight/cfn_template.rb', line 13182 def to_jsii result = {} result.merge!({ "screenCanvasSizeOptions" => @screen_canvas_size_options, }) result.compact end |