Class: AWSCDK::QuickSight::CfnTemplate::FilterCrossSheetControlProperty

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

Overview

A control from a filter that is scoped across more than one sheet.

This represents your filter control on a sheet

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filter_control_id:, source_filter_id:, cascading_control_configuration: nil) ⇒ FilterCrossSheetControlProperty

Returns a new instance of FilterCrossSheetControlProperty.

Parameters:

  • filter_control_id (String)

    The ID of the FilterCrossSheetControl .

  • source_filter_id (String)

    The source filter ID of the FilterCrossSheetControl .

  • cascading_control_configuration (AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::CascadingControlConfigurationProperty, nil) (defaults to: nil)

    The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.



9647
9648
9649
9650
9651
9652
9653
9654
# File 'quick_sight/cfn_template.rb', line 9647

def initialize(filter_control_id:, source_filter_id:, cascading_control_configuration: nil)
  @filter_control_id = filter_control_id
  Jsii::Type.check_type(@filter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterControlId")
  @source_filter_id = source_filter_id
  Jsii::Type.check_type(@source_filter_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceFilterId")
  @cascading_control_configuration = cascading_control_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::CascadingControlConfigurationProperty.new(**cascading_control_configuration.transform_keys(&:to_sym)) : cascading_control_configuration
  Jsii::Type.check_type(@cascading_control_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNhc2NhZGluZ0NvbnRyb2xDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "cascadingControlConfiguration") unless @cascading_control_configuration.nil?
end

Instance Attribute Details

#cascading_control_configurationAWSCDK::IResolvable, ... (readonly)

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.



9670
9671
9672
# File 'quick_sight/cfn_template.rb', line 9670

def cascading_control_configuration
  @cascading_control_configuration
end

#filter_control_idString (readonly)

The ID of the FilterCrossSheetControl .



9660
9661
9662
# File 'quick_sight/cfn_template.rb', line 9660

def filter_control_id
  @filter_control_id
end

#source_filter_idString (readonly)

The source filter ID of the FilterCrossSheetControl .



9665
9666
9667
# File 'quick_sight/cfn_template.rb', line 9665

def source_filter_id
  @source_filter_id
end

Class Method Details

.jsii_propertiesObject



9672
9673
9674
9675
9676
9677
9678
# File 'quick_sight/cfn_template.rb', line 9672

def self.jsii_properties
  {
    :filter_control_id => "filterControlId",
    :source_filter_id => "sourceFilterId",
    :cascading_control_configuration => "cascadingControlConfiguration",
  }
end

Instance Method Details

#to_jsiiObject



9680
9681
9682
9683
9684
9685
9686
9687
9688
# File 'quick_sight/cfn_template.rb', line 9680

def to_jsii
  result = {}
  result.merge!({
    "filterControlId" => @filter_control_id,
    "sourceFilterId" => @source_filter_id,
    "cascadingControlConfiguration" => @cascading_control_configuration,
  })
  result.compact
end