Class: AWSCDK::QuickSight::CfnTemplate::FreeFormLayoutScreenCanvasSizeOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

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.



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_widthString (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_propertiesObject



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_jsiiObject



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