Class: AWSCDK::QuickSight::CfnTemplate::CategoryDrillDownFilterProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.rb

Overview

The category drill down filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category_values:, column:) ⇒ CategoryDrillDownFilterProperty

Returns a new instance of CategoryDrillDownFilterProperty.

Parameters:



3294
3295
3296
3297
3298
3299
# File 'quick_sight/cfn_template.rb', line 3294

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::CfnTemplate::ColumnIdentifierProperty.new(**column.transform_keys(&:to_sym)) : column
  Jsii::Type.check_type(@column, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "column")
end

Instance Attribute Details

#category_valuesArray<String> (readonly)

A list of the string inputs that are the values of the category drill down filter.



3305
3306
3307
# File 'quick_sight/cfn_template.rb', line 3305

def category_values
  @category_values
end

Class Method Details

.jsii_propertiesObject



3312
3313
3314
3315
3316
3317
# File 'quick_sight/cfn_template.rb', line 3312

def self.jsii_properties
  {
    :category_values => "categoryValues",
    :column => "column",
  }
end

Instance Method Details

#to_jsiiObject



3319
3320
3321
3322
3323
3324
3325
3326
# File 'quick_sight/cfn_template.rb', line 3319

def to_jsii
  result = {}
  result.merge!({
    "categoryValues" => @category_values,
    "column" => @column,
  })
  result.compact
end