Class: AWSCDK::QuickSight::CfnDashboard::WaterfallChartOptionsProperty

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

Overview

The options that determine the presentation of a waterfall visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total_bar_label: nil) ⇒ WaterfallChartOptionsProperty

Returns a new instance of WaterfallChartOptionsProperty.

Parameters:

  • total_bar_label (String, nil) (defaults to: nil)

    This option determines the total bar label of a waterfall visual.



32987
32988
32989
32990
# File 'quick_sight/cfn_dashboard.rb', line 32987

def initialize(total_bar_label: nil)
  @total_bar_label = total_bar_label
  Jsii::Type.check_type(@total_bar_label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "totalBarLabel") unless @total_bar_label.nil?
end

Instance Attribute Details

#total_bar_labelString? (readonly)

This option determines the total bar label of a waterfall visual.



32996
32997
32998
# File 'quick_sight/cfn_dashboard.rb', line 32996

def total_bar_label
  @total_bar_label
end

Class Method Details

.jsii_propertiesObject



32998
32999
33000
33001
33002
# File 'quick_sight/cfn_dashboard.rb', line 32998

def self.jsii_properties
  {
    :total_bar_label => "totalBarLabel",
  }
end

Instance Method Details

#to_jsiiObject



33004
33005
33006
33007
33008
33009
33010
# File 'quick_sight/cfn_dashboard.rb', line 33004

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