Class: AWSCDK::QuickSight::CfnDashboard::NegativeValueConfigurationProperty

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

Overview

The options that determine the negative value configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(display_mode:) ⇒ NegativeValueConfigurationProperty

Returns a new instance of NegativeValueConfigurationProperty.

Parameters:

  • display_mode (String)

    Determines the display mode of the negative value configuration.



19941
19942
19943
19944
# File 'quick_sight/cfn_dashboard.rb', line 19941

def initialize(display_mode:)
  @display_mode = display_mode
  Jsii::Type.check_type(@display_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayMode")
end

Instance Attribute Details

#display_modeString (readonly)

Determines the display mode of the negative value configuration.



19950
19951
19952
# File 'quick_sight/cfn_dashboard.rb', line 19950

def display_mode
  @display_mode
end

Class Method Details

.jsii_propertiesObject



19952
19953
19954
19955
19956
# File 'quick_sight/cfn_dashboard.rb', line 19952

def self.jsii_properties
  {
    :display_mode => "displayMode",
  }
end

Instance Method Details

#to_jsiiObject



19958
19959
19960
19961
19962
19963
19964
# File 'quick_sight/cfn_dashboard.rb', line 19958

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