Class: AWSCDK::QuickSight::CfnTemplate::ArcAxisDisplayRangeProperty

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

Overview

The arc axis range of a GaugeChartVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max: nil, min: nil) ⇒ ArcAxisDisplayRangeProperty

Returns a new instance of ArcAxisDisplayRangeProperty.

Parameters:

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

    The maximum value of the arc axis range.

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

    The minimum value of the arc axis range.



956
957
958
959
960
961
# File 'quick_sight/cfn_template.rb', line 956

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

Instance Attribute Details

#maxNumeric? (readonly)

The maximum value of the arc axis range.



967
968
969
# File 'quick_sight/cfn_template.rb', line 967

def max
  @max
end

#minNumeric? (readonly)

The minimum value of the arc axis range.



972
973
974
# File 'quick_sight/cfn_template.rb', line 972

def min
  @min
end

Class Method Details

.jsii_propertiesObject



974
975
976
977
978
979
# File 'quick_sight/cfn_template.rb', line 974

def self.jsii_properties
  {
    :max => "max",
    :min => "min",
  }
end

Instance Method Details

#to_jsiiObject



981
982
983
984
985
986
987
988
# File 'quick_sight/cfn_template.rb', line 981

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