Class: AWSCDK::QuickSight::CfnDashboard::SameSheetTargetVisualConfigurationProperty

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

Overview

The configuration of the same-sheet target visuals that you want to be filtered.

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(target_visual_options: nil, target_visuals: nil) ⇒ SameSheetTargetVisualConfigurationProperty

Returns a new instance of SameSheetTargetVisualConfigurationProperty.

Parameters:

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

    The options that choose the target visual in the same sheet.

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

    A list of the target visual IDs that are located in the same sheet of the analysis.



25603
25604
25605
25606
25607
25608
# File 'quick_sight/cfn_dashboard.rb', line 25603

def initialize(target_visual_options: nil, target_visuals: nil)
  @target_visual_options = target_visual_options
  Jsii::Type.check_type(@target_visual_options, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetVisualOptions") unless @target_visual_options.nil?
  @target_visuals = target_visuals
  Jsii::Type.check_type(@target_visuals, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "targetVisuals") unless @target_visuals.nil?
end

Instance Attribute Details

#target_visual_optionsString? (readonly)

The options that choose the target visual in the same sheet.

Valid values are defined as follows:

  • ALL_VISUALS : Applies the filter operation to all visuals in the same sheet.


25618
25619
25620
# File 'quick_sight/cfn_dashboard.rb', line 25618

def target_visual_options
  @target_visual_options
end

#target_visualsArray<String>? (readonly)

A list of the target visual IDs that are located in the same sheet of the analysis.



25623
25624
25625
# File 'quick_sight/cfn_dashboard.rb', line 25623

def target_visuals
  @target_visuals
end

Class Method Details

.jsii_propertiesObject



25625
25626
25627
25628
25629
25630
# File 'quick_sight/cfn_dashboard.rb', line 25625

def self.jsii_properties
  {
    :target_visual_options => "targetVisualOptions",
    :target_visuals => "targetVisuals",
  }
end

Instance Method Details

#to_jsiiObject



25632
25633
25634
25635
25636
25637
25638
25639
# File 'quick_sight/cfn_dashboard.rb', line 25632

def to_jsii
  result = {}
  result.merge!({
    "targetVisualOptions" => @target_visual_options,
    "targetVisuals" => @target_visuals,
  })
  result.compact
end