Class: AWSCDK::QuickSight::CfnAnalysis::SheetVisualScopingConfigurationProperty

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



26675
26676
26677
26678
26679
26680
26681
26682
# File 'quick_sight/cfn_analysis.rb', line 26675

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


26691
26692
26693
# File 'quick_sight/cfn_analysis.rb', line 26691

def scope
  @scope
end

#sheet_idString (readonly)

The selected sheet that the filter is applied to.



26696
26697
26698
# File 'quick_sight/cfn_analysis.rb', line 26696

def sheet_id
  @sheet_id
end

#visual_idsArray<String>? (readonly)

The selected visuals that the filter is applied to.



26701
26702
26703
# File 'quick_sight/cfn_analysis.rb', line 26701

def visual_ids
  @visual_ids
end

Class Method Details

.jsii_propertiesObject



26703
26704
26705
26706
26707
26708
26709
# File 'quick_sight/cfn_analysis.rb', line 26703

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

Instance Method Details

#to_jsiiObject



26711
26712
26713
26714
26715
26716
26717
26718
26719
# File 'quick_sight/cfn_analysis.rb', line 26711

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