Class: AWSCDK::QuickSight::CfnTemplate::SheetVisualScopingConfigurationProperty

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

Overview

The filter that is applied to the options.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scope:, sheet_id:, visual_ids: nil) ⇒ SheetVisualScopingConfigurationProperty

Returns a new instance of SheetVisualScopingConfigurationProperty.

Parameters:

  • scope (String)

    The scope of the applied entities. Choose one of the following options:.

  • sheet_id (String)

    The selected sheet that the filter is applied to.

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

    The selected visuals that the filter is applied to.



24801
24802
24803
24804
24805
24806
24807
24808
# File 'quick_sight/cfn_template.rb', line 24801

def initialize(scope:, sheet_id:, visual_ids: nil)
  @scope = scope
  Jsii::Type.check_type(@scope, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scope")
  @sheet_id = sheet_id
  Jsii::Type.check_type(@sheet_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sheetId")
  @visual_ids = visual_ids
  Jsii::Type.check_type(@visual_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "visualIds") unless @visual_ids.nil?
end

Instance Attribute Details

#scopeString (readonly)

The scope of the applied entities. Choose one of the following options:.

  • ALL_VISUALS
  • SELECTED_VISUALS


24817
24818
24819
# File 'quick_sight/cfn_template.rb', line 24817

def scope
  @scope
end

#sheet_idString (readonly)

The selected sheet that the filter is applied to.



24822
24823
24824
# File 'quick_sight/cfn_template.rb', line 24822

def sheet_id
  @sheet_id
end

#visual_idsArray<String>? (readonly)

The selected visuals that the filter is applied to.



24827
24828
24829
# File 'quick_sight/cfn_template.rb', line 24827

def visual_ids
  @visual_ids
end

Class Method Details

.jsii_propertiesObject



24829
24830
24831
24832
24833
24834
24835
# File 'quick_sight/cfn_template.rb', line 24829

def self.jsii_properties
  {
    :scope => "scope",
    :sheet_id => "sheetId",
    :visual_ids => "visualIds",
  }
end

Instance Method Details

#to_jsiiObject



24837
24838
24839
24840
24841
24842
24843
24844
24845
# File 'quick_sight/cfn_template.rb', line 24837

def to_jsii
  result = {}
  result.merge!({
    "scope" => @scope,
    "sheetId" => @sheet_id,
    "visualIds" => @visual_ids,
  })
  result.compact
end