Class: AWSCDK::QuickSight::CfnTemplate::GaugeChartOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::GaugeChartOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The options that determine the presentation of the GaugeChartVisual .
Instance Attribute Summary collapse
-
#arc ⇒ AWSCDK::IResolvable, ...
readonly
The arc configuration of a
GaugeChartVisual. -
#arc_axis ⇒ AWSCDK::IResolvable, ...
readonly
The arc axis configuration of a
GaugeChartVisual. -
#comparison ⇒ AWSCDK::IResolvable, ...
readonly
The comparison configuration of a
GaugeChartVisual. -
#primary_value_display_type ⇒ String?
readonly
The options that determine the primary value display type.
-
#primary_value_font_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the primary value font configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arc: nil, arc_axis: nil, comparison: nil, primary_value_display_type: nil, primary_value_font_configuration: nil) ⇒ GaugeChartOptionsProperty
constructor
A new instance of GaugeChartOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arc: nil, arc_axis: nil, comparison: nil, primary_value_display_type: nil, primary_value_font_configuration: nil) ⇒ GaugeChartOptionsProperty
Returns a new instance of GaugeChartOptionsProperty.
12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 |
# File 'quick_sight/cfn_template.rb', line 12255 def initialize(arc: nil, arc_axis: nil, comparison: nil, primary_value_display_type: nil, primary_value_font_configuration: nil) @arc = arc.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ArcConfigurationProperty.new(**arc.transform_keys(&:to_sym)) : arc Jsii::Type.check_type(@arc, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkFyY0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "arc") unless @arc.nil? @arc_axis = arc_axis.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ArcAxisConfigurationProperty.new(**arc_axis.transform_keys(&:to_sym)) : arc_axis Jsii::Type.check_type(@arc_axis, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkFyY0F4aXNDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "arcAxis") unless @arc_axis.nil? @comparison = comparison.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ComparisonConfigurationProperty.new(**comparison.transform_keys(&:to_sym)) : comparison Jsii::Type.check_type(@comparison, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbXBhcmlzb25Db25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "comparison") unless @comparison.nil? @primary_value_display_type = primary_value_display_type Jsii::Type.check_type(@primary_value_display_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "primaryValueDisplayType") unless @primary_value_display_type.nil? @primary_value_font_configuration = primary_value_font_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FontConfigurationProperty.new(**primary_value_font_configuration.transform_keys(&:to_sym)) : primary_value_font_configuration Jsii::Type.check_type(@primary_value_font_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZvbnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "primaryValueFontConfiguration") unless @primary_value_font_configuration.nil? end |
Instance Attribute Details
#arc ⇒ AWSCDK::IResolvable, ... (readonly)
The arc configuration of a GaugeChartVisual .
12272 12273 12274 |
# File 'quick_sight/cfn_template.rb', line 12272 def arc @arc end |
#arc_axis ⇒ AWSCDK::IResolvable, ... (readonly)
The arc axis configuration of a GaugeChartVisual .
12277 12278 12279 |
# File 'quick_sight/cfn_template.rb', line 12277 def arc_axis @arc_axis end |
#comparison ⇒ AWSCDK::IResolvable, ... (readonly)
The comparison configuration of a GaugeChartVisual .
12282 12283 12284 |
# File 'quick_sight/cfn_template.rb', line 12282 def comparison @comparison end |
#primary_value_display_type ⇒ String? (readonly)
The options that determine the primary value display type.
12287 12288 12289 |
# File 'quick_sight/cfn_template.rb', line 12287 def primary_value_display_type @primary_value_display_type end |
#primary_value_font_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the primary value font configuration.
12292 12293 12294 |
# File 'quick_sight/cfn_template.rb', line 12292 def primary_value_font_configuration @primary_value_font_configuration end |
Class Method Details
.jsii_properties ⇒ Object
12294 12295 12296 12297 12298 12299 12300 12301 12302 |
# File 'quick_sight/cfn_template.rb', line 12294 def self.jsii_properties { :arc => "arc", :arc_axis => "arcAxis", :comparison => "comparison", :primary_value_display_type => "primaryValueDisplayType", :primary_value_font_configuration => "primaryValueFontConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 |
# File 'quick_sight/cfn_template.rb', line 12304 def to_jsii result = {} result.merge!({ "arc" => @arc, "arcAxis" => @arc_axis, "comparison" => @comparison, "primaryValueDisplayType" => @primary_value_display_type, "primaryValueFontConfiguration" => @primary_value_font_configuration, }) result.compact end |