Class: AWSCDK::QuickSight::CfnTemplate::IntegerDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::IntegerDefaultValuesProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The default values of the IntegerParameterDeclaration .
Instance Attribute Summary collapse
-
#dynamic_value ⇒ AWSCDK::IResolvable, ...
readonly
The dynamic value of the
IntegerDefaultValues. -
#static_values ⇒ Array<Numeric>, ...
readonly
The static values of the
IntegerDefaultValues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dynamic_value: nil, static_values: nil) ⇒ IntegerDefaultValuesProperty
constructor
A new instance of IntegerDefaultValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dynamic_value: nil, static_values: nil) ⇒ IntegerDefaultValuesProperty
Returns a new instance of IntegerDefaultValuesProperty.
14570 14571 14572 14573 14574 14575 |
# File 'quick_sight/cfn_template.rb', line 14570 def initialize(dynamic_value: nil, static_values: nil) @dynamic_value = dynamic_value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DynamicDefaultValueProperty.new(**dynamic_value.transform_keys(&:to_sym)) : dynamic_value Jsii::Type.check_type(@dynamic_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkR5bmFtaWNEZWZhdWx0VmFsdWVQcm9wZXJ0eSJ9XX19")), "dynamicValue") unless @dynamic_value.nil? @static_values = static_values Jsii::Type.check_type(@static_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siY29sbGVjdGlvbiI6eyJlbGVtZW50dHlwZSI6eyJwcmltaXRpdmUiOiJudW1iZXIifSwia2luZCI6ImFycmF5In19LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "staticValues") unless @static_values.nil? end |
Instance Attribute Details
#dynamic_value ⇒ AWSCDK::IResolvable, ... (readonly)
The dynamic value of the IntegerDefaultValues .
Different defaults are displayed according to users, groups, and values mapping.
14583 14584 14585 |
# File 'quick_sight/cfn_template.rb', line 14583 def dynamic_value @dynamic_value end |
#static_values ⇒ Array<Numeric>, ... (readonly)
The static values of the IntegerDefaultValues .
14588 14589 14590 |
# File 'quick_sight/cfn_template.rb', line 14588 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
14590 14591 14592 14593 14594 14595 |
# File 'quick_sight/cfn_template.rb', line 14590 def self.jsii_properties { :dynamic_value => "dynamicValue", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
14597 14598 14599 14600 14601 14602 14603 14604 |
# File 'quick_sight/cfn_template.rb', line 14597 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "staticValues" => @static_values, }) result.compact end |