Class: AWSCDK::QuickSight::CfnDashboard::ArcAxisDisplayRangeProperty

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



1080
1081
1082
1083
1084
1085
# File 'quick_sight/cfn_dashboard.rb', line 1080

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.



1091
1092
1093
# File 'quick_sight/cfn_dashboard.rb', line 1091

def max
  @max
end

#minNumeric? (readonly)

The minimum value of the arc axis range.



1096
1097
1098
# File 'quick_sight/cfn_dashboard.rb', line 1096

def min
  @min
end

Class Method Details

.jsii_propertiesObject



1098
1099
1100
1101
1102
1103
# File 'quick_sight/cfn_dashboard.rb', line 1098

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

Instance Method Details

#to_jsiiObject



1105
1106
1107
1108
1109
1110
1111
1112
# File 'quick_sight/cfn_dashboard.rb', line 1105

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