Class: AWSCDK::QuickSight::CfnAnalysis::FreeFormLayoutScreenCanvasSizeOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::FreeFormLayoutScreenCanvasSizeOptionsProperty
- 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
-
#optimized_view_port_width ⇒ String
readonly
The width that the view port will be optimized for when the layout renders.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(optimized_view_port_width:) ⇒ FreeFormLayoutScreenCanvasSizeOptionsProperty
constructor
A new instance of FreeFormLayoutScreenCanvasSizeOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(optimized_view_port_width:) ⇒ FreeFormLayoutScreenCanvasSizeOptionsProperty
Returns a new instance of FreeFormLayoutScreenCanvasSizeOptionsProperty.
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_width ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |