Class: AWSCDK::QuickSight::CfnDashboard::IntegerDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::IntegerDefaultValuesProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
17059 17060 17061 17062 17063 17064 |
# File 'quick_sight/cfn_dashboard.rb', line 17059 def initialize(dynamic_value: nil, static_values: nil) @dynamic_value = dynamic_value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DynamicDefaultValueProperty.new(**dynamic_value.transform_keys(&:to_sym)) : dynamic_value Jsii::Type.check_type(@dynamic_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EeW5hbWljRGVmYXVsdFZhbHVlUHJvcGVydHkifV19fQ==")), "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.
17072 17073 17074 |
# File 'quick_sight/cfn_dashboard.rb', line 17072 def dynamic_value @dynamic_value end |
#static_values ⇒ Array<Numeric>, ... (readonly)
The static values of the IntegerDefaultValues .
17077 17078 17079 |
# File 'quick_sight/cfn_dashboard.rb', line 17077 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
17079 17080 17081 17082 17083 17084 |
# File 'quick_sight/cfn_dashboard.rb', line 17079 def self.jsii_properties { :dynamic_value => "dynamicValue", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
17086 17087 17088 17089 17090 17091 17092 17093 |
# File 'quick_sight/cfn_dashboard.rb', line 17086 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "staticValues" => @static_values, }) result.compact end |