Class: AWSCDK::QuickSight::CfnTemplate::TimeRangeFilterValueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TimeRangeFilterValueProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The value of a time range filter.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#parameter ⇒ String?
readonly
The parameter type input value.
-
#rolling_date ⇒ AWSCDK::IResolvable, ...
readonly
The rolling date input value.
-
#static_value ⇒ String?
readonly
The static input value.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter: nil, rolling_date: nil, static_value: nil) ⇒ TimeRangeFilterValueProperty
constructor
A new instance of TimeRangeFilterValueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter: nil, rolling_date: nil, static_value: nil) ⇒ TimeRangeFilterValueProperty
Returns a new instance of TimeRangeFilterValueProperty.
27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'quick_sight/cfn_template.rb', line 27935 def initialize(parameter: nil, rolling_date: nil, static_value: nil) @parameter = parameter Jsii::Type.check_type(@parameter, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameter") unless @parameter.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_value = static_value Jsii::Type.check_type(@static_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "staticValue") unless @static_value.nil? end |
Instance Attribute Details
#parameter ⇒ String? (readonly)
The parameter type input value.
27948 27949 27950 |
# File 'quick_sight/cfn_template.rb', line 27948 def parameter @parameter end |
#rolling_date ⇒ AWSCDK::IResolvable, ... (readonly)
The rolling date input value.
27953 27954 27955 |
# File 'quick_sight/cfn_template.rb', line 27953 def rolling_date @rolling_date end |
#static_value ⇒ String? (readonly)
The static input value.
27958 27959 27960 |
# File 'quick_sight/cfn_template.rb', line 27958 def static_value @static_value end |
Class Method Details
.jsii_properties ⇒ Object
27960 27961 27962 27963 27964 27965 27966 |
# File 'quick_sight/cfn_template.rb', line 27960 def self.jsii_properties { :parameter => "parameter", :rolling_date => "rollingDate", :static_value => "staticValue", } end |
Instance Method Details
#to_jsii ⇒ Object
27968 27969 27970 27971 27972 27973 27974 27975 27976 |
# File 'quick_sight/cfn_template.rb', line 27968 def to_jsii result = {} result.merge!({ "parameter" => @parameter, "rollingDate" => @rolling_date, "staticValue" => @static_value, }) result.compact end |