Class: AWSCDK::QuickSight::CfnTemplate::FreeFormLayoutCanvasSizeOptionsProperty

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

Overview

Configuration options for the canvas of a free-form layout.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(screen_canvas_size_options: nil) ⇒ FreeFormLayoutCanvasSizeOptionsProperty

Returns a new instance of FreeFormLayoutCanvasSizeOptionsProperty.

Parameters:



11172
11173
11174
11175
# File 'quick_sight/cfn_template.rb', line 11172

def initialize(screen_canvas_size_options: nil)
  @screen_canvas_size_options = screen_canvas_size_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FreeFormLayoutScreenCanvasSizeOptionsProperty.new(**screen_canvas_size_options.transform_keys(&:to_sym)) : screen_canvas_size_options
  Jsii::Type.check_type(@screen_canvas_size_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZyZWVGb3JtTGF5b3V0U2NyZWVuQ2FudmFzU2l6ZU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "screenCanvasSizeOptions") unless @screen_canvas_size_options.nil?
end

Instance Attribute Details

#screen_canvas_size_optionsAWSCDK::IResolvable, ... (readonly)

The options that determine the sizing of the canvas used in a free-form layout.



11181
11182
11183
# File 'quick_sight/cfn_template.rb', line 11181

def screen_canvas_size_options
  @screen_canvas_size_options
end

Class Method Details

.jsii_propertiesObject



11183
11184
11185
11186
11187
# File 'quick_sight/cfn_template.rb', line 11183

def self.jsii_properties
  {
    :screen_canvas_size_options => "screenCanvasSizeOptions",
  }
end

Instance Method Details

#to_jsiiObject



11189
11190
11191
11192
11193
11194
11195
# File 'quick_sight/cfn_template.rb', line 11189

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