Class: AWSCDK::QuickSight::CfnTemplate::FreeFormLayoutScreenCanvasSizeOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FreeFormLayoutScreenCanvasSizeOptionsProperty
- Defined in:
- quick_sight/cfn_template.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.
11477 11478 11479 11480 |
# File 'quick_sight/cfn_template.rb', line 11477 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.
11486 11487 11488 |
# File 'quick_sight/cfn_template.rb', line 11486 def optimized_view_port_width @optimized_view_port_width end |
Class Method Details
.jsii_properties ⇒ Object
11488 11489 11490 11491 11492 |
# File 'quick_sight/cfn_template.rb', line 11488 def self.jsii_properties { :optimized_view_port_width => "optimizedViewPortWidth", } end |
Instance Method Details
#to_jsii ⇒ Object
11494 11495 11496 11497 11498 11499 11500 |
# File 'quick_sight/cfn_template.rb', line 11494 def to_jsii result = {} result.merge!({ "optimizedViewPortWidth" => @optimized_view_port_width, }) result.compact end |