Class: AWSCDK::QuickSight::CfnDashboard::StringDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::StringDefaultValuesProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The default values of the StringParameterDeclaration .
Instance Attribute Summary collapse
-
#dynamic_value ⇒ AWSCDK::IResolvable, ...
readonly
The dynamic value of the
StringDefaultValues. -
#static_values ⇒ Array<String>?
readonly
The static values of the
DecimalDefaultValues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dynamic_value: nil, static_values: nil) ⇒ StringDefaultValuesProperty
constructor
A new instance of StringDefaultValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dynamic_value: nil, static_values: nil) ⇒ StringDefaultValuesProperty
Returns a new instance of StringDefaultValuesProperty.
28326 28327 28328 28329 28330 28331 |
# File 'quick_sight/cfn_dashboard.rb', line 28326 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("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "staticValues") unless @static_values.nil? end |
Instance Attribute Details
#dynamic_value ⇒ AWSCDK::IResolvable, ... (readonly)
The dynamic value of the StringDefaultValues .
Different defaults displayed according to users, groups, and values mapping.
28339 28340 28341 |
# File 'quick_sight/cfn_dashboard.rb', line 28339 def dynamic_value @dynamic_value end |
#static_values ⇒ Array<String>? (readonly)
The static values of the DecimalDefaultValues .
28344 28345 28346 |
# File 'quick_sight/cfn_dashboard.rb', line 28344 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
28346 28347 28348 28349 28350 28351 |
# File 'quick_sight/cfn_dashboard.rb', line 28346 def self.jsii_properties { :dynamic_value => "dynamicValue", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
28353 28354 28355 28356 28357 28358 28359 28360 |
# File 'quick_sight/cfn_dashboard.rb', line 28353 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "staticValues" => @static_values, }) result.compact end |