Class: AWSCDK::QuickSight::CfnTemplate::FilterOperationSelectedFieldsConfigurationProperty

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

Overview

The configuration of selected fields in the CustomActionFilterOperation .

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(selected_columns: nil, selected_field_options: nil, selected_fields: nil) ⇒ FilterOperationSelectedFieldsConfigurationProperty

Returns a new instance of FilterOperationSelectedFieldsConfigurationProperty.

Parameters:

  • selected_columns (AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty>, nil) (defaults to: nil)

    The selected columns of a dataset.

  • selected_field_options (String, nil) (defaults to: nil)

    A structure that contains the options that choose which fields are filtered in the CustomActionFilterOperation .

  • selected_fields (Array<String>, nil) (defaults to: nil)

    Chooses the fields that are filtered in CustomActionFilterOperation .



10141
10142
10143
10144
10145
10146
10147
10148
# File 'quick_sight/cfn_template.rb', line 10141

def initialize(selected_columns: nil, selected_field_options: nil, selected_fields: nil)
  @selected_columns = selected_columns
  Jsii::Type.check_type(@selected_columns, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5Db2x1bW5JZGVudGlmaWVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "selectedColumns") unless @selected_columns.nil?
  @selected_field_options = selected_field_options
  Jsii::Type.check_type(@selected_field_options, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "selectedFieldOptions") unless @selected_field_options.nil?
  @selected_fields = selected_fields
  Jsii::Type.check_type(@selected_fields, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "selectedFields") unless @selected_fields.nil?
end

Instance Attribute Details

#selected_field_optionsString? (readonly)

A structure that contains the options that choose which fields are filtered in the CustomActionFilterOperation .

Valid values are defined as follows:

  • ALL_FIELDS : Applies the filter operation to all fields.


10163
10164
10165
# File 'quick_sight/cfn_template.rb', line 10163

def selected_field_options
  @selected_field_options
end

#selected_fieldsArray<String>? (readonly)

Chooses the fields that are filtered in CustomActionFilterOperation .



10168
10169
10170
# File 'quick_sight/cfn_template.rb', line 10168

def selected_fields
  @selected_fields
end

Class Method Details

.jsii_propertiesObject



10170
10171
10172
10173
10174
10175
10176
# File 'quick_sight/cfn_template.rb', line 10170

def self.jsii_properties
  {
    :selected_columns => "selectedColumns",
    :selected_field_options => "selectedFieldOptions",
    :selected_fields => "selectedFields",
  }
end

Instance Method Details

#to_jsiiObject



10178
10179
10180
10181
10182
10183
10184
10185
10186
# File 'quick_sight/cfn_template.rb', line 10178

def to_jsii
  result = {}
  result.merge!({
    "selectedColumns" => @selected_columns,
    "selectedFieldOptions" => @selected_field_options,
    "selectedFields" => @selected_fields,
  })
  result.compact
end