Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialLineWidthProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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.



13649
13650
13651
13652
# File 'quick_sight/cfn_analysis.rb', line 13649

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.



13658
13659
13660
# File 'quick_sight/cfn_analysis.rb', line 13658

def line_width
  @line_width
end

Class Method Details

.jsii_propertiesObject



13660
13661
13662
13663
13664
# File 'quick_sight/cfn_analysis.rb', line 13660

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

Instance Method Details

#to_jsiiObject



13666
13667
13668
13669
13670
13671
13672
# File 'quick_sight/cfn_analysis.rb', line 13666

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