Class: AWSCDK::QuickSight::CfnTemplate::SameSheetTargetVisualConfigurationProperty

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



22757
22758
22759
22760
22761
22762
# File 'quick_sight/cfn_template.rb', line 22757

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.


22772
22773
22774
# File 'quick_sight/cfn_template.rb', line 22772

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.



22777
22778
22779
# File 'quick_sight/cfn_template.rb', line 22777

def target_visuals
  @target_visuals
end

Class Method Details

.jsii_propertiesObject



22779
22780
22781
22782
22783
22784
# File 'quick_sight/cfn_template.rb', line 22779

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

Instance Method Details

#to_jsiiObject



22786
22787
22788
22789
22790
22791
22792
22793
# File 'quick_sight/cfn_template.rb', line 22786

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