Class: AWSCDK::QuickSight::CfnDashboard::FilterOperationSelectedFieldsConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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::CfnDashboard::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 .



11086
11087
11088
11089
11090
11091
11092
11093
# File 'quick_sight/cfn_dashboard.rb', line 11086

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuQ29sdW1uSWRlbnRpZmllclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "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.


11108
11109
11110
# File 'quick_sight/cfn_dashboard.rb', line 11108

def selected_field_options
  @selected_field_options
end

#selected_fieldsArray<String>? (readonly)

Chooses the fields that are filtered in CustomActionFilterOperation .



11113
11114
11115
# File 'quick_sight/cfn_dashboard.rb', line 11113

def selected_fields
  @selected_fields
end

Class Method Details

.jsii_propertiesObject



11115
11116
11117
11118
11119
11120
11121
# File 'quick_sight/cfn_dashboard.rb', line 11115

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

Instance Method Details

#to_jsiiObject



11123
11124
11125
11126
11127
11128
11129
11130
11131
# File 'quick_sight/cfn_dashboard.rb', line 11123

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