Class: AWSCDK::QuickSight::CfnAnalysis::DateTimeDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::DateTimeDefaultValuesProperty
- Defined in:
- quick_sight/cfn_analysis.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.
7043 7044 7045 7046 7047 7048 7049 7050 |
# File 'quick_sight/cfn_analysis.rb', line 7043 def initialize(dynamic_value: nil, rolling_date: nil, static_values: nil) @dynamic_value = dynamic_value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DynamicDefaultValueProperty.new(**dynamic_value.transform_keys(&:to_sym)) : dynamic_value Jsii::Type.check_type(@dynamic_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkR5bmFtaWNEZWZhdWx0VmFsdWVQcm9wZXJ0eSJ9XX19")), "dynamicValue") unless @dynamic_value.nil? @rolling_date = rolling_date.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::RollingDateConfigurationProperty.new(**rolling_date.transform_keys(&:to_sym)) : rolling_date Jsii::Type.check_type(@rolling_date, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlJvbGxpbmdEYXRlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.
7058 7059 7060 |
# File 'quick_sight/cfn_analysis.rb', line 7058 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.
7065 7066 7067 |
# File 'quick_sight/cfn_analysis.rb', line 7065 def rolling_date @rolling_date end |
#static_values ⇒ Array<String>? (readonly)
The static values of the DataTimeDefaultValues .
7070 7071 7072 |
# File 'quick_sight/cfn_analysis.rb', line 7070 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
7072 7073 7074 7075 7076 7077 7078 |
# File 'quick_sight/cfn_analysis.rb', line 7072 def self.jsii_properties { :dynamic_value => "dynamicValue", :rolling_date => "rollingDate", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
7080 7081 7082 7083 7084 7085 7086 7087 7088 |
# File 'quick_sight/cfn_analysis.rb', line 7080 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "rollingDate" => @rolling_date, "staticValues" => @static_values, }) result.compact end |