Class: AWSCDK::QuickSight::CfnAnalysis::FreeFormLayoutScreenCanvasSizeOptionsProperty

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(optimized_view_port_width:) ⇒ FreeFormLayoutScreenCanvasSizeOptionsProperty

Returns a new instance of FreeFormLayoutScreenCanvasSizeOptionsProperty.

Parameters:

  • optimized_view_port_width (String)

    The width that the view port will be optimized for when the layout renders.



11669
11670
11671
11672
# File 'quick_sight/cfn_analysis.rb', line 11669

def initialize(optimized_view_port_width:)
  @optimized_view_port_width = optimized_view_port_width
  Jsii::Type.check_type(@optimized_view_port_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "optimizedViewPortWidth")
end

Instance Attribute Details

#optimized_view_port_widthString (readonly)

The width that the view port will be optimized for when the layout renders.



11678
11679
11680
# File 'quick_sight/cfn_analysis.rb', line 11678

def optimized_view_port_width
  @optimized_view_port_width
end

Class Method Details

.jsii_propertiesObject



11680
11681
11682
11683
11684
# File 'quick_sight/cfn_analysis.rb', line 11680

def self.jsii_properties
  {
    :optimized_view_port_width => "optimizedViewPortWidth",
  }
end

Instance Method Details

#to_jsiiObject



11686
11687
11688
11689
11690
11691
11692
# File 'quick_sight/cfn_analysis.rb', line 11686

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