Class: AWSCDK::QuickSight::CfnTemplate::DateTimeDefaultValuesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DateTimeDefaultValuesProperty
- Defined in:
- quick_sight/cfn_template.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.
6937 6938 6939 6940 6941 6942 6943 6944 |
# File 'quick_sight/cfn_template.rb', line 6937 def initialize(dynamic_value: nil, rolling_date: 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? @rolling_date = rolling_date.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::RollingDateConfigurationProperty.new(**rolling_date.transform_keys(&:to_sym)) : rolling_date Jsii::Type.check_type(@rolling_date, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlJvbGxpbmdEYXRlQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.
6952 6953 6954 |
# File 'quick_sight/cfn_template.rb', line 6952 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.
6959 6960 6961 |
# File 'quick_sight/cfn_template.rb', line 6959 def rolling_date @rolling_date end |
#static_values ⇒ Array<String>? (readonly)
The static values of the DataTimeDefaultValues .
6964 6965 6966 |
# File 'quick_sight/cfn_template.rb', line 6964 def static_values @static_values end |
Class Method Details
.jsii_properties ⇒ Object
6966 6967 6968 6969 6970 6971 6972 |
# File 'quick_sight/cfn_template.rb', line 6966 def self.jsii_properties { :dynamic_value => "dynamicValue", :rolling_date => "rollingDate", :static_values => "staticValues", } end |
Instance Method Details
#to_jsii ⇒ Object
6974 6975 6976 6977 6978 6979 6980 6981 6982 |
# File 'quick_sight/cfn_template.rb', line 6974 def to_jsii result = {} result.merge!({ "dynamicValue" => @dynamic_value, "rollingDate" => @rolling_date, "staticValues" => @static_values, }) result.compact end |