Class: AWSCDK::QuickSight::CfnTemplate::IntegerValueWhenUnsetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::IntegerValueWhenUnsetConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
A parameter declaration for the Integer data type.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#custom_value ⇒ Numeric?
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) ⇒ IntegerValueWhenUnsetConfigurationProperty
constructor
A new instance of IntegerValueWhenUnsetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_value: nil, value_when_unset_option: nil) ⇒ IntegerValueWhenUnsetConfigurationProperty
Returns a new instance of IntegerValueWhenUnsetConfigurationProperty.
14690 14691 14692 14693 14694 14695 |
# File 'quick_sight/cfn_template.rb', line 14690 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_value ⇒ Numeric? (readonly)
A custom value that's used when the value of a parameter isn't set.
14701 14702 14703 |
# File 'quick_sight/cfn_template.rb', line 14701 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.
14709 14710 14711 |
# File 'quick_sight/cfn_template.rb', line 14709 def value_when_unset_option @value_when_unset_option end |
Class Method Details
.jsii_properties ⇒ Object
14711 14712 14713 14714 14715 14716 |
# File 'quick_sight/cfn_template.rb', line 14711 def self.jsii_properties { :custom_value => "customValue", :value_when_unset_option => "valueWhenUnsetOption", } end |
Instance Method Details
#to_jsii ⇒ Object
14718 14719 14720 14721 14722 14723 14724 14725 |
# File 'quick_sight/cfn_template.rb', line 14718 def to_jsii result = {} result.merge!({ "customValue" => @custom_value, "valueWhenUnsetOption" => @value_when_unset_option, }) result.compact end |