Class: AWSCDK::QuickSight::CfnAnalysis::DecimalValueWhenUnsetConfigurationProperty

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

Overview

The configuration that defines the default value of a Decimal parameter when a value has not been set.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ DecimalValueWhenUnsetConfigurationProperty

Returns a new instance of DecimalValueWhenUnsetConfigurationProperty.

Parameters:

  • custom_value (Numeric, nil) (defaults to: nil)

    A custom value that's used when the value of a parameter isn't set.

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

    The built-in options for default values. The value can be one of the following:.



7624
7625
7626
7627
7628
7629
# File 'quick_sight/cfn_analysis.rb', line 7624

def initialize(custom_value: nil, value_when_unset_option: nil)
  @custom_value = custom_value
  Jsii::Type.check_type(@custom_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "customValue") unless @custom_value.nil?
  @value_when_unset_option = value_when_unset_option
  Jsii::Type.check_type(@value_when_unset_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "valueWhenUnsetOption") unless @value_when_unset_option.nil?
end

Instance Attribute Details

#custom_valueNumeric? (readonly)

A custom value that's used when the value of a parameter isn't set.



7635
7636
7637
# File 'quick_sight/cfn_analysis.rb', line 7635

def custom_value
  @custom_value
end

#value_when_unset_optionString? (readonly)

The built-in options for default values. The value can be one of the following:.

  • RECOMMENDED : The recommended value.
  • NULL : The NULL value.


7643
7644
7645
# File 'quick_sight/cfn_analysis.rb', line 7643

def value_when_unset_option
  @value_when_unset_option
end

Class Method Details

.jsii_propertiesObject



7645
7646
7647
7648
7649
7650
# File 'quick_sight/cfn_analysis.rb', line 7645

def self.jsii_properties
  {
    :custom_value => "customValue",
    :value_when_unset_option => "valueWhenUnsetOption",
  }
end

Instance Method Details

#to_jsiiObject



7652
7653
7654
7655
7656
7657
7658
7659
# File 'quick_sight/cfn_analysis.rb', line 7652

def to_jsii
  result = {}
  result.merge!({
    "customValue" => @custom_value,
    "valueWhenUnsetOption" => @value_when_unset_option,
  })
  result.compact
end