Class: AWSCDK::QuickSight::CfnDashboard::CategoryDrillDownFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::CategoryDrillDownFilterProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The category drill down filter.
Instance Attribute Summary collapse
-
#category_values ⇒ Array<String>
readonly
A list of the string inputs that are the values of the category drill down filter.
-
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty
readonly
The column that the filter is applied to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(category_values:, column:) ⇒ CategoryDrillDownFilterProperty
constructor
A new instance of CategoryDrillDownFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(category_values:, column:) ⇒ CategoryDrillDownFilterProperty
Returns a new instance of CategoryDrillDownFilterProperty.
3438 3439 3440 3441 3442 3443 |
# File 'quick_sight/cfn_dashboard.rb', line 3438 def initialize(category_values:, column:) @category_values = category_values Jsii::Type.check_type(@category_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "categoryValues") @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") end |
Instance Attribute Details
#category_values ⇒ Array<String> (readonly)
A list of the string inputs that are the values of the category drill down filter.
3449 3450 3451 |
# File 'quick_sight/cfn_dashboard.rb', line 3449 def category_values @category_values end |
#column ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty (readonly)
The column that the filter is applied to.
3454 3455 3456 |
# File 'quick_sight/cfn_dashboard.rb', line 3454 def column @column end |
Class Method Details
.jsii_properties ⇒ Object
3456 3457 3458 3459 3460 3461 |
# File 'quick_sight/cfn_dashboard.rb', line 3456 def self.jsii_properties { :category_values => "categoryValues", :column => "column", } end |
Instance Method Details
#to_jsii ⇒ Object
3463 3464 3465 3466 3467 3468 3469 3470 |
# File 'quick_sight/cfn_dashboard.rb', line 3463 def to_jsii result = {} result.merge!({ "categoryValues" => @category_values, "column" => @column, }) result.compact end |