Class: AWSCDK::QuickSight::CfnDashboard::DateTimeDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DateTimeDefaultValuesProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The default values of the DateTimeParameterDeclaration .
Instance Attribute Summary collapse
-
#dynamic_value ⇒ AWSCDK::IResolvable, ...
readonly
The dynamic value of the
DataTimeDefaultValues. -
#rolling_date ⇒ AWSCDK::IResolvable, ...
readonly
The rolling date of the
DataTimeDefaultValues. -
#static_values ⇒ Array<String>?
readonly
The static values of the
DataTimeDefaultValues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dynamic_value: nil, rolling_date: nil, static_values: nil) ⇒ DateTimeDefaultValuesProperty
constructor
A new instance of DateTimeDefaultValuesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dynamic_value: nil, rolling_date: nil, static_values: nil) ⇒ DateTimeDefaultValuesProperty
Returns a new instance of DateTimeDefaultValuesProperty.
7664 7665 7666 7667 7668 7669 7670 7671 |
# File 'quick_sight/cfn_dashboard.rb', line 7664 def initialize(dynamic_value: nil, rolling_date: 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? @rolling_date = rolling_date.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::RollingDateConfigurationProperty.new(**rolling_date.transform_keys(&:to_sym)) : rolling_date Jsii::Type.check_type(@rolling_date, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Sb2xsaW5nRGF0ZUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "rollingDate") unless @rolling_date.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 DataTimeDefaultValues .
Different defaults are displayed according to users, groups, and values mapping.
7679 7680 7681 |
# File 'quick_sight/cfn_dashboard.rb', line 7679 def dynamic_value @dynamic_value end |
#rolling_date ⇒ AWSCDK::IResolvable, ... (readonly)
The rolling date of the DataTimeDefaultValues .
The date is determined from the dataset based on input expression.
7686 7687 7688 |
# File 'quick_sight/cfn_dashboard.rb', line 7686 def rolling_date @rolling_date end |
#static_values ⇒ Array<String>? (readonly)
The static values of the DataTimeDefaultValues .
7691 7692 7693 |
# File 'quick_sight/cfn_dashboard.rb', line 7691 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
7693 7694 7695 7696 7697 7698 7699 |
# File 'quick_sight/cfn_dashboard.rb', line 7693 def self.jsii_properties { :dynamic_value => "dynamicValue", :rolling_date => "rollingDate", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
7701 7702 7703 7704 7705 7706 7707 7708 7709 |
# File 'quick_sight/cfn_dashboard.rb', line 7701 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "rollingDate" => @rolling_date, "staticValues" => @static_values, }) result.compact end |