Class: AWSCDK::QuickSight::CfnTemplate::DecimalDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DecimalDefaultValuesProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The default values of the DecimalParameterDeclaration .
Instance Attribute Summary collapse
-
#dynamic_value ⇒ AWSCDK::IResolvable, ...
readonly
The dynamic value of the
DecimalDefaultValues. -
#static_values ⇒ Array<Numeric>, ...
readonly
The static values of the
DecimalDefaultValues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dynamic_value: nil, static_values: nil) ⇒ DecimalDefaultValuesProperty
constructor
A new instance of DecimalDefaultValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dynamic_value: nil, static_values: nil) ⇒ DecimalDefaultValuesProperty
Returns a new instance of DecimalDefaultValuesProperty.
7281 7282 7283 7284 7285 7286 |
# File 'quick_sight/cfn_template.rb', line 7281 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 DecimalDefaultValues .
Different defaults are displayed according to users, groups, and values mapping.
7294 7295 7296 |
# File 'quick_sight/cfn_template.rb', line 7294 def dynamic_value @dynamic_value end |
#static_values ⇒ Array<Numeric>, ... (readonly)
The static values of the DecimalDefaultValues .
7299 7300 7301 |
# File 'quick_sight/cfn_template.rb', line 7299 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
7301 7302 7303 7304 7305 7306 |
# File 'quick_sight/cfn_template.rb', line 7301 def self.jsii_properties { :dynamic_value => "dynamicValue", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
7308 7309 7310 7311 7312 7313 7314 7315 |
# File 'quick_sight/cfn_template.rb', line 7308 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "staticValues" => @static_values, }) result.compact end |