Class: AWSCDK::QuickSight::CfnTemplate::NegativeValueConfigurationProperty

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



17158
17159
17160
17161
# File 'quick_sight/cfn_template.rb', line 17158

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.



17167
17168
17169
# File 'quick_sight/cfn_template.rb', line 17167

def display_mode
  @display_mode
end

Class Method Details

.jsii_propertiesObject



17169
17170
17171
17172
17173
# File 'quick_sight/cfn_template.rb', line 17169

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

Instance Method Details

#to_jsiiObject



17175
17176
17177
17178
17179
17180
17181
# File 'quick_sight/cfn_template.rb', line 17175

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