Class: AWSCDK::QuickSight::CfnAnalysis::DateTimeValueWhenUnsetConfigurationProperty

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

Overview

The configuration that defines the default value of a DateTime 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) ⇒ DateTimeValueWhenUnsetConfigurationProperty

Returns a new instance of DateTimeValueWhenUnsetConfigurationProperty.

Parameters:

  • custom_value (String, 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:.



7384
7385
7386
7387
7388
7389
# File 'quick_sight/cfn_analysis.rb', line 7384

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("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "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_valueString? (readonly)

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



7395
7396
7397
# File 'quick_sight/cfn_analysis.rb', line 7395

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.


7403
7404
7405
# File 'quick_sight/cfn_analysis.rb', line 7403

def value_when_unset_option
  @value_when_unset_option
end

Class Method Details

.jsii_propertiesObject



7405
7406
7407
7408
7409
7410
# File 'quick_sight/cfn_analysis.rb', line 7405

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

Instance Method Details

#to_jsiiObject



7412
7413
7414
7415
7416
7417
7418
7419
# File 'quick_sight/cfn_analysis.rb', line 7412

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