Class: AWSCDK::QuickSight::CfnTemplate::ArcAxisConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ArcAxisConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The arc axis configuration of a GaugeChartVisual .
Instance Attribute Summary collapse
-
#range ⇒ AWSCDK::IResolvable, ...
readonly
The arc axis range of a
GaugeChartVisual. -
#reserve_range ⇒ Numeric?
readonly
The reserved range of the arc axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(range: nil, reserve_range: nil) ⇒ ArcAxisConfigurationProperty
constructor
A new instance of ArcAxisConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(range: nil, reserve_range: nil) ⇒ ArcAxisConfigurationProperty
Returns a new instance of ArcAxisConfigurationProperty.
912 913 914 915 916 917 |
# File 'quick_sight/cfn_template.rb', line 912 def initialize(range: nil, reserve_range: nil) @range = range.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ArcAxisDisplayRangeProperty.new(**range.transform_keys(&:to_sym)) : range Jsii::Type.check_type(@range, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkFyY0F4aXNEaXNwbGF5UmFuZ2VQcm9wZXJ0eSJ9XX19")), "range") unless @range.nil? @reserve_range = reserve_range Jsii::Type.check_type(@reserve_range, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "reserveRange") unless @reserve_range.nil? end |
Instance Attribute Details
#range ⇒ AWSCDK::IResolvable, ... (readonly)
The arc axis range of a GaugeChartVisual .
923 924 925 |
# File 'quick_sight/cfn_template.rb', line 923 def range @range end |
#reserve_range ⇒ Numeric? (readonly)
Note:
Default: - 0
The reserved range of the arc axis.
929 930 931 |
# File 'quick_sight/cfn_template.rb', line 929 def reserve_range @reserve_range end |
Class Method Details
.jsii_properties ⇒ Object
931 932 933 934 935 936 |
# File 'quick_sight/cfn_template.rb', line 931 def self.jsii_properties { :range => "range", :reserve_range => "reserveRange", } end |
Instance Method Details
#to_jsii ⇒ Object
938 939 940 941 942 943 944 945 |
# File 'quick_sight/cfn_template.rb', line 938 def to_jsii result = {} result.merge!({ "range" => @range, "reserveRange" => @reserve_range, }) result.compact end |