Class: AWSCDK::QuickSight::CfnDashboard::DateTimeValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DateTimeValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration that defines the default value of a DateTime parameter when a value has not been set.
Instance Attribute Summary collapse
-
#custom_value ⇒ String?
readonly
A custom value that's used when the value of a parameter isn't set.
-
#value_when_unset_option ⇒ String?
readonly
The built-in options for default values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ DateTimeValueWhenUnsetConfigurationProperty
constructor
A new instance of DateTimeValueWhenUnsetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ DateTimeValueWhenUnsetConfigurationProperty
Returns a new instance of DateTimeValueWhenUnsetConfigurationProperty.
8005 8006 8007 8008 8009 8010 |
# File 'quick_sight/cfn_dashboard.rb', line 8005 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_value ⇒ String? (readonly)
A custom value that's used when the value of a parameter isn't set.
8016 8017 8018 |
# File 'quick_sight/cfn_dashboard.rb', line 8016 def custom_value @custom_value end |
#value_when_unset_option ⇒ String? (readonly)
The built-in options for default values. The value can be one of the following:.
RECOMMENDED: The recommended value.NULL: TheNULLvalue.
8024 8025 8026 |
# File 'quick_sight/cfn_dashboard.rb', line 8024 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
8026 8027 8028 8029 8030 8031 |
# File 'quick_sight/cfn_dashboard.rb', line 8026 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
8033 8034 8035 8036 8037 8038 8039 8040 |
# File 'quick_sight/cfn_dashboard.rb', line 8033 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |