Class: AWSCDK::QuickSight::CfnDashboard::TimeRangeFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TimeRangeFilterProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A TimeRangeFilter filters values that are between two specified values.
Instance Attribute Summary collapse
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty
readonly
The column that the filter is applied to.
-
#default_filter_control_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The default configurations for the associated controls.
-
#exclude_period_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The exclude period of the time range filter.
-
#filter_id ⇒ String
readonly
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
-
#include_maximum ⇒ Boolean, ...
readonly
Determines whether the maximum value in the filter value range should be included in the filtered results.
-
#include_minimum ⇒ Boolean, ...
readonly
Determines whether the minimum value in the filter value range should be included in the filtered results.
-
#null_option ⇒ String
readonly
This option determines how null values should be treated when filtering data.
-
#range_maximum_value ⇒ AWSCDK::IResolvable, ...
readonly
The maximum value for the filter value range.
-
#range_minimum_value ⇒ AWSCDK::IResolvable, ...
readonly
The minimum value for the filter value range.
-
#time_granularity ⇒ String?
readonly
The level of time precision that is used to aggregate
DateTimevalues.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column:, filter_id:, null_option:, default_filter_control_configuration: nil, exclude_period_configuration: nil, include_maximum: nil, include_minimum: nil, range_maximum_value: nil, range_minimum_value: nil, time_granularity: nil) ⇒ TimeRangeFilterProperty
constructor
A new instance of TimeRangeFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column:, filter_id:, null_option:, default_filter_control_configuration: nil, exclude_period_configuration: nil, include_maximum: nil, include_minimum: nil, range_maximum_value: nil, range_minimum_value: nil, time_granularity: nil) ⇒ TimeRangeFilterProperty
Returns a new instance of TimeRangeFilterProperty.
30567 30568 30569 30570 30571 30572 30573 30574 30575 30576 30577 30578 30579 30580 30581 30582 30583 30584 30585 30586 30587 30588 |
# File 'quick_sight/cfn_dashboard.rb', line 30567 def initialize(column:, filter_id:, null_option:, default_filter_control_configuration: nil, exclude_period_configuration: nil, include_maximum: nil, include_minimum: nil, range_maximum_value: nil, range_minimum_value: nil, time_granularity: nil) @column = column.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2x1bW5JZGVudGlmaWVyUHJvcGVydHkifV19fQ==")), "column") @filter_id = filter_id Jsii::Type.check_type(@filter_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterId") @null_option = null_option Jsii::Type.check_type(@null_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nullOption") @default_filter_control_configuration = default_filter_control_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DefaultFilterControlConfigurationProperty.new(**default_filter_control_configuration.transform_keys(&:to_sym)) : default_filter_control_configuration Jsii::Type.check_type(@default_filter_control_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWZhdWx0RmlsdGVyQ29udHJvbENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "defaultFilterControlConfiguration") unless @default_filter_control_configuration.nil? @exclude_period_configuration = exclude_period_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ExcludePeriodConfigurationProperty.new(**exclude_period_configuration.transform_keys(&:to_sym)) : exclude_period_configuration Jsii::Type.check_type(@exclude_period_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5FeGNsdWRlUGVyaW9kQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "excludePeriodConfiguration") unless @exclude_period_configuration.nil? @include_maximum = include_maximum Jsii::Type.check_type(@include_maximum, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeMaximum") unless @include_maximum.nil? @include_minimum = include_minimum Jsii::Type.check_type(@include_minimum, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "includeMinimum") unless @include_minimum.nil? @range_maximum_value = range_maximum_value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TimeRangeFilterValueProperty.new(**range_maximum_value.transform_keys(&:to_sym)) : range_maximum_value Jsii::Type.check_type(@range_maximum_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UaW1lUmFuZ2VGaWx0ZXJWYWx1ZVByb3BlcnR5In1dfX0=")), "rangeMaximumValue") unless @range_maximum_value.nil? @range_minimum_value = range_minimum_value.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TimeRangeFilterValueProperty.new(**range_minimum_value.transform_keys(&:to_sym)) : range_minimum_value Jsii::Type.check_type(@range_minimum_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UaW1lUmFuZ2VGaWx0ZXJWYWx1ZVByb3BlcnR5In1dfX0=")), "rangeMinimumValue") unless @range_minimum_value.nil? @time_granularity = time_granularity Jsii::Type.check_type(@time_granularity, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timeGranularity") unless @time_granularity.nil? end |
Instance Attribute Details
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty (readonly)
The column that the filter is applied to.
30594 30595 30596 |
# File 'quick_sight/cfn_dashboard.rb', line 30594 def column @column end |
#default_filter_control_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The default configurations for the associated controls.
This applies only for filters that are scoped to multiple sheets.
30615 30616 30617 |
# File 'quick_sight/cfn_dashboard.rb', line 30615 def default_filter_control_configuration @default_filter_control_configuration end |
#exclude_period_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The exclude period of the time range filter.
30620 30621 30622 |
# File 'quick_sight/cfn_dashboard.rb', line 30620 def exclude_period_configuration @exclude_period_configuration end |
#filter_id ⇒ String (readonly)
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
30599 30600 30601 |
# File 'quick_sight/cfn_dashboard.rb', line 30599 def filter_id @filter_id end |
#include_maximum ⇒ Boolean, ... (readonly)
Determines whether the maximum value in the filter value range should be included in the filtered results.
30625 30626 30627 |
# File 'quick_sight/cfn_dashboard.rb', line 30625 def include_maximum @include_maximum end |
#include_minimum ⇒ Boolean, ... (readonly)
Determines whether the minimum value in the filter value range should be included in the filtered results.
30630 30631 30632 |
# File 'quick_sight/cfn_dashboard.rb', line 30630 def include_minimum @include_minimum end |
#null_option ⇒ String (readonly)
This option determines how null values should be treated when filtering data.
ALL_VALUES: Include null values in filtered results.NULLS_ONLY: Only include null values in filtered results.NON_NULLS_ONLY: Exclude null values from filtered results.
30608 30609 30610 |
# File 'quick_sight/cfn_dashboard.rb', line 30608 def null_option @null_option end |
#range_maximum_value ⇒ AWSCDK::IResolvable, ... (readonly)
The maximum value for the filter value range.
30635 30636 30637 |
# File 'quick_sight/cfn_dashboard.rb', line 30635 def range_maximum_value @range_maximum_value end |
#range_minimum_value ⇒ AWSCDK::IResolvable, ... (readonly)
The minimum value for the filter value range.
30640 30641 30642 |
# File 'quick_sight/cfn_dashboard.rb', line 30640 def range_minimum_value @range_minimum_value end |
#time_granularity ⇒ String? (readonly)
The level of time precision that is used to aggregate DateTime values.
30645 30646 30647 |
# File 'quick_sight/cfn_dashboard.rb', line 30645 def time_granularity @time_granularity end |
Class Method Details
.jsii_properties ⇒ Object
30647 30648 30649 30650 30651 30652 30653 30654 30655 30656 30657 30658 30659 30660 |
# File 'quick_sight/cfn_dashboard.rb', line 30647 def self.jsii_properties { :column => "column", :filter_id => "filterId", :null_option => "nullOption", :default_filter_control_configuration => "defaultFilterControlConfiguration", :exclude_period_configuration => "excludePeriodConfiguration", :include_maximum => "includeMaximum", :include_minimum => "includeMinimum", :range_maximum_value => "rangeMaximumValue", :range_minimum_value => "rangeMinimumValue", :time_granularity => "timeGranularity", } end |
Instance Method Details
#to_jsii ⇒ Object
30662 30663 30664 30665 30666 30667 30668 30669 30670 30671 30672 30673 30674 30675 30676 30677 |
# File 'quick_sight/cfn_dashboard.rb', line 30662 def to_jsii result = {} result.merge!({ "column" => @column, "filterId" => @filter_id, "nullOption" => @null_option, "defaultFilterControlConfiguration" => @default_filter_control_configuration, "excludePeriodConfiguration" => @exclude_period_configuration, "includeMaximum" => @include_maximum, "includeMinimum" => @include_minimum, "rangeMaximumValue" => @range_maximum_value, "rangeMinimumValue" => @range_minimum_value, "timeGranularity" => @time_granularity, }) result.compact end |