Class: AWSCDK::QuickSight::CfnDashboard::FreeFormLayoutScreenCanvasSizeOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::FreeFormLayoutScreenCanvasSizeOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
12452 12453 12454 12455 |
# File 'quick_sight/cfn_dashboard.rb', line 12452 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.
12461 12462 12463 |
# File 'quick_sight/cfn_dashboard.rb', line 12461 def optimized_view_port_width @optimized_view_port_width end |
Class Method Details
.jsii_properties ⇒ Object
12463 12464 12465 12466 12467 |
# File 'quick_sight/cfn_dashboard.rb', line 12463 def self.jsii_properties { :optimized_view_port_width => "optimizedViewPortWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
12469 12470 12471 12472 12473 12474 12475 |
# File 'quick_sight/cfn_dashboard.rb', line 12469 def to_jsii result = {} result.merge!({ "optimizedViewPortWidth" => @optimized_view_port_width, }) result.compact end |