Class: AWSCDK::QuickSight::CfnDashboard::GeospatialLineWidthProperty

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

Overview

The width properties for a line.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(line_width: nil) ⇒ GeospatialLineWidthProperty

Returns a new instance of GeospatialLineWidthProperty.

Parameters:

  • line_width (Numeric, nil) (defaults to: nil)

    The positive value for the width of a line.



14432
14433
14434
14435
# File 'quick_sight/cfn_dashboard.rb', line 14432

def initialize(line_width: nil)
  @line_width = line_width
  Jsii::Type.check_type(@line_width, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "lineWidth") unless @line_width.nil?
end

Instance Attribute Details

#line_widthNumeric? (readonly)

The positive value for the width of a line.



14441
14442
14443
# File 'quick_sight/cfn_dashboard.rb', line 14441

def line_width
  @line_width
end

Class Method Details

.jsii_propertiesObject



14443
14444
14445
14446
14447
# File 'quick_sight/cfn_dashboard.rb', line 14443

def self.jsii_properties
  {
    :line_width => "lineWidth",
  }
end

Instance Method Details

#to_jsiiObject



14449
14450
14451
14452
14453
14454
14455
# File 'quick_sight/cfn_dashboard.rb', line 14449

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